diff options
| author | Jonathan Gray | 2006-01-29 03:44:13 +0000 | 
|---|---|---|
| committer | Jonathan Gray | 2006-01-29 03:44:13 +0000 | 
| commit | 38ae101bdecd04501ec6b7e3dea8b8a388d09c5a (patch) | |
| tree | 88cb4a0136ca4b54d2665b14e6eb8b5123176539 | |
| parent | 2e9bbb896dd863a1aa321d3a462b7b96e40370e6 (diff) | |
| download | scummvm-rg350-38ae101bdecd04501ec6b7e3dea8b8a388d09c5a.tar.gz scummvm-rg350-38ae101bdecd04501ec6b7e3dea8b8a388d09c5a.tar.bz2 scummvm-rg350-38ae101bdecd04501ec6b7e3dea8b8a388d09c5a.zip | |
cyx's gcc 2.95 fix makes things compile with gcc 2.95 again.
svn-id: r20288
| -rw-r--r-- | common/list.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/common/list.h b/common/list.h index 82e5f013a2..11a4967633 100644 --- a/common/list.h +++ b/common/list.h @@ -91,7 +91,11 @@ public:  		}  		T2& operator*() const {  			assert(_node); +#if (__GNUC__ == 2) && (__GNUC_MINOR__ >= 95) +			return static_cast<List<T>::Node<T2> *>(_node)->_data; +#else  			return static_cast<Node<T2>*>(_node)->_data; +#endif  		}  		T2* operator->() const {  			return &(operator*()); | 
