diff --git a/3party/Alohalytics/src/location.h b/3party/Alohalytics/src/location.h index 1c77b89bb7..7b3da6171e 100644 --- a/3party/Alohalytics/src/location.h +++ b/3party/Alohalytics/src/location.h @@ -265,7 +265,8 @@ class Location { private: template static inline void AppendToStringAsBinary(std::string & str, const T & value, size_t bytes = sizeof(T)) { - static_assert(std::is_trivially_copyable::value, "This type is not supported."); + // TODO(AlexZ): Uncomment when gcc and clang will correctly support is_trivially_copyable. + //static_assert(std::is_trivially_copyable::value, "This type is not supported."); str.append(reinterpret_cast(&value), bytes); } };