Skip to content

Commit 731bb96

Browse files
committed
Add missing #include, BOOST_ASSERT->assert
1 parent 30386f3 commit 731bb96

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/portable_archive/portable_oarchive.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class portable_oarchive : public portable_oprimitive
5353
// to be parsed with a newer version of lslboost::serialization
5454
// therefor we create a header, no header means lslboost 1.33
5555
if (flags & lslboost::archive::no_header)
56-
BOOST_ASSERT(archive_version == 3);
56+
assert(archive_version == 3);
5757
else {
5858
// write our minimalistic header (magic byte plus version)
5959
// the lslboost archives write a string instead - by calling

src/portable_archive/slimarchive.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
/// Small shim implementing the needed Boost serialization classes for liblsl
44

5+
#include <cassert>
56
#include <cstdint>
67
#include <stdexcept>
78
#include <streambuf>

0 commit comments

Comments
 (0)