diff options
author | Christian <c@ethdev.com> | 2015-02-25 23:00:23 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-02-25 23:22:30 +0800 |
commit | 66b6860eb88c027244abd75393f59b6b68268f6e (patch) | |
tree | dbcd3d8d6d988bc42f90f3ea97791143b439d39b /ExpressionCompiler.h | |
parent | 29c614ebaf551006bc6c028592917e8f0dd5cf96 (diff) | |
download | dexon-solidity-66b6860eb88c027244abd75393f59b6b68268f6e.tar.gz dexon-solidity-66b6860eb88c027244abd75393f59b6b68268f6e.tar.zst dexon-solidity-66b6860eb88c027244abd75393f59b6b68268f6e.zip |
Stylistic changes.
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r-- | ExpressionCompiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index c3ecabbd..9cab757e 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -26,6 +26,7 @@ #include <boost/noncopyable.hpp> #include <libdevcore/Common.h> #include <libevmcore/SourceLocation.h> +#include <libsolidity/Utils.h> #include <libsolidity/ASTVisitor.h> #include <libsolidity/LValue.h> @@ -133,7 +134,7 @@ private: template <class _LValueType, class... _Arguments> void ExpressionCompiler::setLValue(Expression const& _expression, _Arguments const&... _arguments) { - solAssert(!m_currentLValue, "Current LValue not reset when trying to set to new one."); + solAssert(!m_currentLValue, "Current LValue not reset before trying to set new one."); std::unique_ptr<_LValueType> lvalue(new _LValueType(m_context, _arguments...)); if (_expression.lvalueRequested()) m_currentLValue = move(lvalue); |