diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-12-12 19:19:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 19:19:10 +0800 |
commit | 85291bcb2d0e92c8d515887a00174d46f974500d (patch) | |
tree | 4e267e45ef25251f999cc12e647c29223b69f014 | |
parent | 1476acb8045033a9a3d2e1a1d13c5aaa8ed6942c (diff) | |
parent | a18985800f42035cdc3c36555cb927e286ea0d91 (diff) | |
download | dexon-solidity-85291bcb2d0e92c8d515887a00174d46f974500d.tar dexon-solidity-85291bcb2d0e92c8d515887a00174d46f974500d.tar.gz dexon-solidity-85291bcb2d0e92c8d515887a00174d46f974500d.tar.bz2 dexon-solidity-85291bcb2d0e92c8d515887a00174d46f974500d.tar.lz dexon-solidity-85291bcb2d0e92c8d515887a00174d46f974500d.tar.xz dexon-solidity-85291bcb2d0e92c8d515887a00174d46f974500d.tar.zst dexon-solidity-85291bcb2d0e92c8d515887a00174d46f974500d.zip |
Merge pull request #5628 from ethereum/structuralSimplifierCompilationFix
[Yul] Fix compilation for certain combinations of boost and gcc.
-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 { |