diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-08-28 23:48:10 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-08-28 23:48:10 +0200 |
commit | f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9 (patch) | |
tree | 775d91a58a07e250a3e14f4a88d233488e8755b9 /src/Globals.h | |
parent | test (diff) | |
download | cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.gz cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.bz2 cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.lz cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.xz cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.zst cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.zip |
Diffstat (limited to 'src/Globals.h')
-rw-r--r-- | src/Globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h index 804b0a5ac..0ab78121c 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -482,7 +482,7 @@ namespace std template <typename WeakPtrType> struct equal_to<std::weak_ptr<WeakPtrType>> { - constexpr bool operator()(const std::weak_ptr<WeakPtrType> & a_Lhs, const std::weak_ptr<WeakPtrType> & a_Rhs) const + /* constexpr */ bool operator()(const std::weak_ptr<WeakPtrType> & a_Lhs, const std::weak_ptr<WeakPtrType> & a_Rhs) const { return (!a_Lhs.owner_before(a_Rhs) && !a_Rhs.owner_before(a_Lhs)); } |