diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/misc/roughtime/roughtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/misc/roughtime/roughtime.cpp b/src/lib/misc/roughtime/roughtime.cpp index e953c87be..7b0c6a42b 100644 --- a/src/lib/misc/roughtime/roughtime.cpp +++ b/src/lib/misc/roughtime/roughtime.cpp @@ -36,7 +36,7 @@ struct is_array<std::array<T,N>>:std::true_type{}; template<typename T> T impl_from_little_endian(const uint8_t* t, const size_t i) { - static_assert(sizeof(T) <= sizeof(int64_t), ""); + static_assert(sizeof(T) <= sizeof(int64_t)); return T(static_cast<int64_t>(t[i]) << i * 8) + (i == 0 ? T(0) : impl_from_little_endian<T>(t, i - 1)); } |