mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 13:30:05 +00:00
Merge pull request #8458 from lat9nq/no-constexpr-flow-block
structured_control_flow: Remove constexpr Flow::Block
This commit is contained in:
commit
bd3bfe411d
@ -975,13 +975,7 @@ private:
|
|||||||
Environment& env;
|
Environment& env;
|
||||||
IR::AbstractSyntaxList& syntax_list;
|
IR::AbstractSyntaxList& syntax_list;
|
||||||
bool uses_demote_to_helper{};
|
bool uses_demote_to_helper{};
|
||||||
|
|
||||||
// TODO: C++20 Remove this when all compilers support constexpr std::vector
|
|
||||||
#if __cpp_lib_constexpr_vector >= 201907
|
|
||||||
static constexpr Flow::Block dummy_flow_block;
|
|
||||||
#else
|
|
||||||
const Flow::Block dummy_flow_block;
|
const Flow::Block dummy_flow_block;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user