diff options
Diffstat (limited to 'src/core/parser/Parser.cpp')
-rw-r--r-- | src/core/parser/Parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/parser/Parser.cpp b/src/core/parser/Parser.cpp index 2978669..4e5016d 100644 --- a/src/core/parser/Parser.cpp +++ b/src/core/parser/Parser.cpp @@ -24,15 +24,15 @@ namespace ousia { /* Class Parser */ -Rooted<Node> Parser::parse(CharReader &reader, ParserContext &ctx) +void Parser::parse(CharReader &reader, ParserContext &ctx) { - return doParse(reader, ctx); + doParse(reader, ctx); } -Rooted<Node> Parser::parse(const std::string &str, ParserContext &ctx) +void Parser::parse(const std::string &str, ParserContext &ctx) { CharReader reader{str}; - return doParse(reader, ctx); + doParse(reader, ctx); } } |