aboutsummaryrefslogtreecommitdiffstats
path: root/solidityNameAndTypeResolution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'solidityNameAndTypeResolution.cpp')
-rw-r--r--solidityNameAndTypeResolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityNameAndTypeResolution.cpp b/solidityNameAndTypeResolution.cpp
index ed2cb7b5..833ae6d4 100644
--- a/solidityNameAndTypeResolution.cpp
+++ b/solidityNameAndTypeResolution.cpp
@@ -41,7 +41,7 @@ namespace
void parseTextAndResolveNames(const std::string& _source)
{
Parser parser;
- ptr<ContractDefinition> contract = parser.parse(
+ ASTPointer<ContractDefinition> contract = parser.parse(
std::make_shared<Scanner>(CharStream(_source)));
NameAndTypeResolver resolver;
resolver.resolveNamesAndTypes(*contract);