summaryrefslogtreecommitdiff
path: root/src/pugixpath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r--src/pugixpath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index de166f4..b174e9c 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -343,7 +343,7 @@ namespace
}
}
- return buf;
+ return std::string(buf);
}
double convert_string_to_number(const char* string)