yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

structured_control_flow: Remove constexpr Flow::Block

This seems to be unsupported in newer libstdc++ versions due to
Flow::Block's base class being a non-literal type. It's not clear to me
why this was permitted in earlier versions.
This commit is contained in:
lat9nq 2022-06-12 16:00:52 -04:00
parent a0407a8e64
commit 963ed37fd6
1 changed files with 0 additions and 6 deletions

View File

@ -975,13 +975,7 @@ private:
Environment& env;
IR::AbstractSyntaxList& syntax_list;
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;
#endif
};
} // Anonymous namespace