aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2022-02-06 14:01:22 -0500
committerJack Lloyd <[email protected]>2022-02-06 14:01:22 -0500
commitd76a8917b0351979aeb36d4a690392d03aa215a7 (patch)
tree7811f859d804e1f19d0e33fdc2369d370ba34d4e /src
parenta4b4757de1fb06a9beedf65a5a8ecf9e394d0f1b (diff)
Use msgless static_assert instead of empty string
Diffstat (limited to 'src')
-rw-r--r--src/lib/misc/roughtime/roughtime.cpp2
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));
}