We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42b64a commit 6c0e410Copy full SHA for 6c0e410
src/portable_archive/portable_iarchive.hpp
@@ -3,6 +3,7 @@
3
#include "portable_archive_includes.hpp"
4
#include "slimarchive.hpp"
5
#include <istream>
6
+#include <limits.h>
7
8
9
namespace eos {
@@ -193,8 +194,8 @@ class portable_iarchive : public portable_iprimitive
193
194
// after reading the note above you still might decide to
195
// deactivate this static assert and try if it works out.
196
typename traits::bits bits;
- BOOST_STATIC_ASSERT(sizeof(bits) == sizeof(T));
197
- BOOST_STATIC_ASSERT(std::numeric_limits<T>::is_iec559);
+ static_assert(sizeof(bits) == sizeof(T));
198
+ static_assert(std::numeric_limits<T>::is_iec559);
199
200
load(bits);
201
traits::set_bits(t, bits);
0 commit comments