diff options
Diffstat (limited to 'zen/serialize.h')
-rw-r--r-- | zen/serialize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/serialize.h b/zen/serialize.h index d7b4cd22..aee650e6 100644 --- a/zen/serialize.h +++ b/zen/serialize.h @@ -268,7 +268,7 @@ void writeArray(BufferedOutputStream& stream, const void* data, size_t len) template <class N, class BufferedOutputStream> inline void writeNumber(BufferedOutputStream& stream, const N& num) { - static_assert(IsArithmetic<N>::value || IsSameType<N, bool>::value, ""); + static_assert(IsArithmetic<N>::value || IsSameType<N, bool>::value, "not a number!"); writeArray(stream, &num, sizeof(N)); } |