diff options
Diffstat (limited to 'coding/reader.hpp')
-rw-r--r-- | coding/reader.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coding/reader.hpp b/coding/reader.hpp index 34d2d98ac0..52a7b750d7 100644 --- a/coding/reader.hpp +++ b/coding/reader.hpp @@ -255,7 +255,7 @@ template <typename TPrimitive, class TReader> inline TPrimitive ReadPrimitiveFromPos(TReader const & reader, uint64_t pos) { #ifndef OMIM_OS_LINUX - static_assert(is_trivially_copyable<TPrimitive>::value, ""); + static_assert(std::is_trivially_copyable<TPrimitive>::value, ""); #endif TPrimitive primitive; ReadFromPos(reader, pos, &primitive, sizeof(primitive)); @@ -266,7 +266,7 @@ template <typename TPrimitive, class TSource> TPrimitive ReadPrimitiveFromSource(TSource & source) { #ifndef OMIM_OS_LINUX - static_assert(is_trivially_copyable<TPrimitive>::value, ""); + static_assert(std::is_trivially_copyable<TPrimitive>::value, ""); #endif TPrimitive primitive; source.Read(&primitive, sizeof(primitive)); |