aboutsummaryrefslogtreecommitdiffstats
path: root/GlobalContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GlobalContext.cpp')
-rw-r--r--GlobalContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/GlobalContext.cpp b/GlobalContext.cpp
index 915d06bf..f4805b1f 100644
--- a/GlobalContext.cpp
+++ b/GlobalContext.cpp
@@ -33,7 +33,7 @@ namespace solidity
{
GlobalContext::GlobalContext():
- m_magicVariables{make_shared<MagicVariableDeclaration>("block", make_shared<MagicType>(MagicType::Kind::BLOCK)),
+m_magicVariables(vector<shared_ptr<MagicVariableDeclaration const>>{make_shared<MagicVariableDeclaration>("block", make_shared<MagicType>(MagicType::Kind::BLOCK)),
make_shared<MagicVariableDeclaration>("msg", make_shared<MagicType>(MagicType::Kind::MSG)),
make_shared<MagicVariableDeclaration>("tx", make_shared<MagicType>(MagicType::Kind::TX)),
make_shared<MagicVariableDeclaration>("suicide",
@@ -59,7 +59,7 @@ GlobalContext::GlobalContext():
make_shared<MagicVariableDeclaration>("ripemd160",
make_shared<FunctionType>(TypePointers({std::make_shared<IntegerType>(256, IntegerType::Modifier::HASH)}),
TypePointers({std::make_shared<IntegerType>(160, IntegerType::Modifier::HASH)}),
- FunctionType::Location::RIPEMD160))}
+ FunctionType::Location::RIPEMD160))})
{
}