diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-23 08:43:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 08:43:18 +0100 |
commit | bd10c7045865bc7788f695b3ecc4fb136a499d87 (patch) | |
tree | 17b378d5698fe51bcd2e67aa648e704b29427b88 /main/tests/test_gdscript.cpp | |
parent | 63b0d822d109f3612d5c22e4342ebef9cd3b9163 (diff) | |
parent | 2cf6ac6c507529884d6b8acfdc42f3bc1826b19d (diff) |
Merge pull request #36461 from akien-mga/c++17-fallthrough-attribute
Replace FALLTHROUGH macro by C++17 [[fallthrough]]
Diffstat (limited to 'main/tests/test_gdscript.cpp')
-rw-r--r-- | main/tests/test_gdscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_gdscript.cpp b/main/tests/test_gdscript.cpp index a2891de8ff..0e7c45f603 100644 --- a/main/tests/test_gdscript.cpp +++ b/main/tests/test_gdscript.cpp @@ -128,7 +128,7 @@ static String _parser_expr(const GDScriptParser::Node *p_expr) { case GDScriptParser::OperatorNode::OP_PARENT_CALL: txt += "."; - FALLTHROUGH; + [[fallthrough]]; case GDScriptParser::OperatorNode::OP_CALL: { ERR_FAIL_COND_V(c_node->arguments.size() < 1, ""); |