]> git.xonotic.org Git - xonotic/netradiant.git/commit
Potentially fix compile with clang. The fix may be dangerous. divVerent/clang-fixes
authorRudolf Polzer <divverent@xonotic.org>
Sun, 9 Feb 2014 17:59:33 +0000 (18:59 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 9 Feb 2014 17:59:33 +0000 (18:59 +0100)
commit712d06616182b5b59a0d0406388154d6e4bf4500
tree12c41fb28d07560b615154f1780a52c5785507cd
parentdc9f838f57b5717b2fd400c804f0c318028184f4
Potentially fix compile with clang. The fix may be dangerous.

I changed how Reference<> types compare - they previously compared by
value (which is not even supported in clang), now compare by reference.

If this breaks anything, I'll rather undo this and instead make the
types used as Reference<> support operator< to compare by value. But I
think comparison by reference is actually wanted here.
libs/generic/reference.h