Skip to content

Commit

Permalink
Add missing #include, BOOST_ASSERT->assert
Browse files Browse the repository at this point in the history
  • Loading branch information
tstenner committed Oct 15, 2023
1 parent 30386f3 commit 731bb96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/portable_archive/portable_oarchive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class portable_oarchive : public portable_oprimitive
// to be parsed with a newer version of lslboost::serialization
// therefor we create a header, no header means lslboost 1.33
if (flags & lslboost::archive::no_header)
BOOST_ASSERT(archive_version == 3);
assert(archive_version == 3);
else {
// write our minimalistic header (magic byte plus version)
// the lslboost archives write a string instead - by calling
Expand Down
1 change: 1 addition & 0 deletions src/portable_archive/slimarchive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

#include <cassert>
#include <cstdint>
#include <stdexcept>
#include <streambuf>
Expand Down

0 comments on commit 731bb96

Please sign in to comment.