aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/CommonSubexpressionEliminator.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-21 22:42:17 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-22 17:51:46 +0800
commit2a5772cff7d03de0d02c5358a6a6755e8f802697 (patch)
treea617c912a51e289b00f2c71f2754d15d451c3bb4 /libevmasm/CommonSubexpressionEliminator.h
parent3cf2426e1a2975a60176cb46040fccfbc182d771 (diff)
downloaddexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar
dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar.gz
dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar.bz2
dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar.lz
dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar.xz
dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.tar.zst
dexon-solidity-2a5772cff7d03de0d02c5358a6a6755e8f802697.zip
Mark appropriate constructors explicit
Diffstat (limited to 'libevmasm/CommonSubexpressionEliminator.h')
-rw-r--r--libevmasm/CommonSubexpressionEliminator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/CommonSubexpressionEliminator.h b/libevmasm/CommonSubexpressionEliminator.h
index 83fc9732..f2473200 100644
--- a/libevmasm/CommonSubexpressionEliminator.h
+++ b/libevmasm/CommonSubexpressionEliminator.h
@@ -61,7 +61,7 @@ public:
using Id = ExpressionClasses::Id;
using StoreOperation = KnownState::StoreOperation;
- CommonSubexpressionEliminator(KnownState const& _state): m_initialState(_state), m_state(_state) {}
+ explicit CommonSubexpressionEliminator(KnownState const& _state): m_initialState(_state), m_state(_state) {}
/// Feeds AssemblyItems into the eliminator and @returns the iterator pointing at the first
/// item that must be fed into a new instance of the eliminator.