Skip to content

Commit

Permalink
platform is better now
Browse files Browse the repository at this point in the history
  • Loading branch information
camila314 committed Mar 6, 2024
1 parent a1f8bd1 commit 15de955
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/member.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ namespace broma {
static void apply(T& input, Root* root, ScratchData* scratch) {
if (scratch->wip_platform_block.has_value())
scratch->wip_field.get_as<MemberField>()->platform = scratch->wip_platform_block.value();
else
scratch->wip_field.get_as<MemberField>()->platform = Platform::None;

scratch->wip_field.get_as<MemberField>()->type = scratch->wip_type;
}
Expand Down

0 comments on commit 15de955

Please sign in to comment.