Skip to content

Commit 4dcdd59

Browse files
anton-klfraillt
authored andcommitted
Fix typo in a comment
1 parent b714459 commit 4dcdd59

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/forward_backward_compatibility.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct Weapon
3939
template<typename S>
4040
void serialize(S& s)
4141
{
42-
// forward/backward compatibility for monsters
42+
// forward/backward compatibility for weapons
4343
s.ext(*this, bitsery::ext::Growable{}, [](S& s, Weapon& o1) {
4444
s.text1b(o1.name, 20);
4545
s.value2b(o1.damage);
@@ -103,8 +103,6 @@ main()
103103

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

110108
MyTypes::Monster res{};

0 commit comments

Comments
 (0)