Fix spaming messages in assert and is_trivially_copyable on GCC 4

This commit is contained in:
Damian Zhaoying
2019-04-12 22:24:50 -03:00
committed by Lirusaito
parent 69100fcca3
commit 4a59efadeb
18 changed files with 30 additions and 18 deletions

View File

@@ -222,7 +222,7 @@ class LLColor4
inline void clamp();
};
static_assert(std::is_trivially_copyable<LLColor4>{}, "LLColor4 must be a trivially copyable type");
static_assert(std::is_trivially_copyable<LLColor4>::value, "LLColor4 must be a trivially copyable type");
// Non-member functions
F32 distVec(const LLColor4 &a, const LLColor4 &b); // Returns distance between a and b