Fix spaming messages in assert and is_trivially_copyable on GCC 4
This commit is contained in:
committed by
Lirusaito
parent
69100fcca3
commit
4a59efadeb
@@ -139,7 +139,7 @@ public:
|
||||
static LLColor4U blue;
|
||||
};
|
||||
|
||||
static_assert(std::is_trivially_copyable<LLColor4U>{}, "LLColor4U must be a trivially copyable type");
|
||||
static_assert(std::is_trivially_copyable<LLColor4U>::value, "LLColor4U must be a trivially copyable type");
|
||||
|
||||
// Non-member functions
|
||||
F32 distVec(const LLColor4U &a, const LLColor4U &b); // Returns distance between a and b
|
||||
|
||||
Reference in New Issue
Block a user