Mercurial > projects > qtd
diff qt/core/QList.d @ 337:5896535a03cd
moved enums back to classes
author | maxter <spambox@d-coding.com> |
---|---|
date | Sat, 13 Mar 2010 00:38:42 +0200 |
parents | 115130499d78 |
children |
line wrap: on
line diff
--- a/qt/core/QList.d Thu Feb 11 12:59:25 2010 +0200 +++ b/qt/core/QList.d Sat Mar 13 00:38:42 2010 +0200 @@ -91,6 +91,7 @@ } struct QListData { +private: struct Data { Atomic!int ref_; int alloc, begin, end; @@ -355,7 +356,7 @@ ref T t() { static if(TI.isLarge || TI.isStatic) - return *cast(T*)(v); + return *cast(T*)(this.v); else return *cast(T*)(&this); }