aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-11-05 22:04:33 +0800
committerChristian <c@ethdev.com>2014-11-05 22:04:33 +0800
commitf0c73b7a54cedfe2bad89ab992514ec31df0f926 (patch)
tree221576114f0d5fd8ea95f605c1255791d73feea9 /AST.cpp
parentc1f7a1665f17c5f9865534c7a26827cfbf6f3dd5 (diff)
downloaddexon-solidity-f0c73b7a54cedfe2bad89ab992514ec31df0f926.tar.gz
dexon-solidity-f0c73b7a54cedfe2bad89ab992514ec31df0f926.tar.zst
dexon-solidity-f0c73b7a54cedfe2bad89ab992514ec31df0f926.zip
Stylistic corrections.
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.cpp b/AST.cpp
index f9c49adc..026aef97 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -344,7 +344,7 @@ void ExpressionStatement::checkTypeRequirements()
m_expression->checkTypeRequirements();
}
-void Expression::expectType(const Type& _expectedType)
+void Expression::expectType(Type const& _expectedType)
{
checkTypeRequirements();
if (!getType()->isImplicitlyConvertibleTo(_expectedType))