Skip to content

Commit

Permalink
Flex buffer (#55)
Browse files Browse the repository at this point in the history
* reflactor flex_buffer

* move operator=

* fix for test on linux
  • Loading branch information
kcwl committed Apr 22, 2024
1 parent d9b2c89 commit 7a374dc
Show file tree
Hide file tree
Showing 5 changed files with 223 additions and 253 deletions.
7 changes: 1 addition & 6 deletions include/elastic/binary_archive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@ namespace elastic
template <typename _Ty>
binary_oarchive& operator<<(_Ty&& t)
{
primitive_guard lk(this);

if (!binary::template serialize(*this, std::forward<_Ty>(t)))
{
this->failed();
}
binary::template serialize(*this, std::forward<_Ty>(t));

return *this;
}
Expand Down
Loading

0 comments on commit 7a374dc

Please sign in to comment.