Skip to content

Commit

Permalink
try fix block
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jul 2, 2024
1 parent 1839b09 commit 78d0448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pya2l/aml/marshal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void dumps(std::stringstream& ss, const TaggedStructMember& tsm) {
const auto multiple = tsm.get_multiple();
ss << to_binary<bool>(multiple);
if (tsm.get_block().get_type()) {
ss << to_binary<std::string>("B");
// ss << to_binary<std::string>("B");
const auto& block = tsm.get_block();
dumps(ss, block);
} else {
Expand Down Expand Up @@ -114,7 +114,7 @@ void dumps(std::stringstream& ss, const TaggedUnionMember& tum) {

// ss << to_binary(tag);
if (block.get_type()) {
ss << to_binary<std::string>("B");
//ss << to_binary<std::string>("B");
dumps(ss, block);
} else {
ss << to_binary<std::string>("M");
Expand Down

0 comments on commit 78d0448

Please sign in to comment.