diff options
-rw-r--r-- | solidityNameAndTypeResolution.cpp | 2 | ||||
-rw-r--r-- | solidityParser.cpp | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/solidityParser.cpp b/solidityParser.cpp index ef434cc3..025cd74d 100644 --- a/solidityParser.cpp +++ b/solidityParser.cpp @@ -37,7 +37,7 @@ namespace test namespace { -ptr<ASTNode> parseText(const std::string& _source) +ASTPointer<ASTNode> parseText(const std::string& _source) { Parser parser; return parser.parse(std::make_shared<Scanner>(CharStream(_source))); |