From a18985800f42035cdc3c36555cb927e286ea0d91 Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Wed, 12 Dec 2018 07:51:23 +0100 Subject: Fix compilation for certain combinations of boost and gcc. --- libyul/optimiser/StructuralSimplifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& _statements) if (expressionAlwaysTrue(*_ifStmt.condition)) return {std::move(_ifStmt.body.statements)}; else if (expressionAlwaysFalse(*_ifStmt.condition)) - return {{}}; + return {vector{}}; return {}; }, [](Switch& _switchStmt) -> OptionalStatements { -- cgit