Browse Source
Merge pull request #8458 from lat9nq/no-constexpr-flow-block
structured_control_flow: Remove constexpr Flow::Block
pull/15/merge
liamwhite
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
6 deletions
-
src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
|
|
|
@ -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
|
|
|
|
|
|
|
|
|