Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ksergey committed Oct 14, 2024
1 parent 6a64b79 commit 45f030c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/generation/cppng/templates/typing.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class Data : public SBEType_Data {

constexpr Data() = default;

constexpr Data(std::byte* buffer, std::size_t* pos, std::uint16_t actingVersion, std::size_t bufferLength) {
constexpr Data(std::byte* buffer, std::size_t* pos, std::size_t bufferLength, std::uint16_t actingVersion) {
buffer_ = buffer;
bufferLength_ = bufferLength;
initialPosition_ = *pos;
Expand Down
1 change: 1 addition & 0 deletions tests/Binance_exchangeInfo_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ void view(std::string prefix, F entry) {
} else if constexpr (requires { entry.template field<0>(); }) {
if constexpr (requires { entry.hasNext(); }) {
// SBEType_Group
fmt::print("{} (count={}, blockLength={}):\n", prefix, entry.count(), entry.actingBlockLength());
std::size_t num = 0;
while (entry.hasNext()) {
entry.next();
Expand Down

0 comments on commit 45f030c

Please sign in to comment.