Skip to content

Commit

Permalink
Fix typo in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-kl authored and fraillt committed Jul 21, 2024
1 parent b714459 commit 4dcdd59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/forward_backward_compatibility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct Weapon
template<typename S>
void serialize(S& s)
{
// forward/backward compatibility for monsters
// forward/backward compatibility for weapons
s.ext(*this, bitsery::ext::Growable{}, [](S& s, Weapon& o1) {
s.text1b(o1.name, 20);
s.value2b(o1.damage);
Expand Down Expand Up @@ -103,8 +103,6 @@ main()

// create buffer to store data to
Buffer buffer{};
// since we're using different configuration, we cannot use quickSerialization
// function.
auto writtenSize = bitsery::quickSerialization<OutputAdapter>(buffer, data);

MyTypes::Monster res{};
Expand Down

0 comments on commit 4dcdd59

Please sign in to comment.