aboutsummaryrefslogtreecommitdiff
path: root/src/function
diff options
context:
space:
mode:
Diffstat (limited to 'src/function')
-rw-r--r--src/function/read_directory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/function/read_directory.cc b/src/function/read_directory.cc
index 6d643da..0ed33bc 100644
--- a/src/function/read_directory.cc
+++ b/src/function/read_directory.cc
@@ -10,7 +10,7 @@ namespace InputXSLT {
FunctionReadDirectory::FunctionReadDirectory(const FilesystemContext& context):
fs_context_(context),
- documents_(new std::stack<DomDocumentGuard>()) { }
+ documents_(std::make_shared<std::stack<DomDocumentGuard>>()) { }
xalan::XObjectPtr FunctionReadDirectory::execute(
xalan::XPathExecutionContext& executionContext,