diff options
-rw-r--r-- | libyul/optimiser/StructuralSimplifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libyul/optimiser/StructuralSimplifier.cpp b/libyul/optimiser/StructuralSimplifier.cpp index 5fcfdae4..bdf4cb2a 100644 --- a/libyul/optimiser/StructuralSimplifier.cpp +++ b/libyul/optimiser/StructuralSimplifier.cpp @@ -55,7 +55,7 @@ void StructuralSimplifier::simplify(std::vector<yul::Statement>& _statements) if (expressionAlwaysTrue(*_ifStmt.condition)) return {std::move(_ifStmt.body.statements)}; else if (expressionAlwaysFalse(*_ifStmt.condition)) - return {{}}; + return {vector<Statement>{}}; return {}; }, [](Switch& _switchStmt) -> OptionalStatements { |