aboutsummaryrefslogtreecommitdiffstats
path: root/src/component.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/component.cpp')
-rw-r--r--src/component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/component.cpp b/src/component.cpp
index b102b45d..7226d0d2 100644
--- a/src/component.cpp
+++ b/src/component.cpp
@@ -150,7 +150,7 @@ void component::parseImpl
{
// This is the default implementation for parsing from an input stream:
// actually, we extract the substring and use the "parse from string" implementation
- const std::string buffer = parser->extract(position, end);
+ const string buffer = parser->extract(position, end);
parseImpl(ctx, buffer, 0, buffer.length(), newPosition);
// Recursivey offset parsed bounds on children