Skip to content

Commit

Permalink
Fix typo in a comment
Browse files Browse the repository at this point in the history
Update growable.h

Update std_bitset.h
  • Loading branch information
anton-kl authored and Destroyerrrocket committed Jul 21, 2024
1 parent b714459 commit 2c013a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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
2 changes: 1 addition & 1 deletion include/bitsery/ext/growable.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define BITSERY_EXT_GROWABLE_H

#include "../traits/core/traits.h"
#include <cstdint>
#include <stdint.h>

namespace bitsery {

Expand Down
2 changes: 1 addition & 1 deletion include/bitsery/ext/std_bitset.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "../traits/core/traits.h"
#include <bitset>
#include <cstdint>
#include <stdint.h>

namespace bitsery {
namespace ext {
Expand Down

0 comments on commit 2c013a8

Please sign in to comment.