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 ade6f72 commit a1f8bd1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/member.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ namespace broma {
scratch->wip_bind = p;

if (auto platform = scratch->wip_platform_block) {
if ((platform & Platform::Mac) != Platform::None)
if ((platform.value() & Platform::Mac) != Platform::None)
scratch->wip_bind.mac = 0;
if ((platform & Platform::iOS) != Platform::None)
if ((platform.value() & Platform::iOS) != Platform::None)
scratch->wip_bind.ios = 0;
if ((platform & Platform::Windows) != Platform::None)
if ((platform.value() & Platform::Windows) != Platform::None)
scratch->wip_bind.win = 0;
if ((platform & Platform::Android32) != Platform::None)
if ((platform.value() & Platform::Android32) != Platform::None)
scratch->wip_bind.android32 = 0;
if ((platform & Platform::Android64) != Platform::None)
if ((platform.value() & Platform::Android64) != Platform::None)
scratch->wip_bind.android64 = 0;
}
}
Expand Down

0 comments on commit a1f8bd1

Please sign in to comment.