aboutsummaryrefslogtreecommitdiff
path: root/src/function
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-04-24 20:14:14 +0200
committerAdrian Kummerländer2014-04-24 20:14:14 +0200
commita31fc1169edb33126242eb035dc038cbdea407e8 (patch)
treebba9d219ad9fc8a0ea752f6d8025a4b614bdebdb /src/function
parent525aa8c4dc3e23f0369c7edb1fb507ecad5f43bf (diff)
downloadInputXSLT-a31fc1169edb33126242eb035dc038cbdea407e8.tar
InputXSLT-a31fc1169edb33126242eb035dc038cbdea407e8.tar.gz
InputXSLT-a31fc1169edb33126242eb035dc038cbdea407e8.tar.bz2
InputXSLT-a31fc1169edb33126242eb035dc038cbdea407e8.tar.lz
InputXSLT-a31fc1169edb33126242eb035dc038cbdea407e8.tar.xz
InputXSLT-a31fc1169edb33126242eb035dc038cbdea407e8.tar.zst
InputXSLT-a31fc1169edb33126242eb035dc038cbdea407e8.zip
Changed TransformerFacade into TransformationFacade for single XSLTs
* contains a single, compiled transformation as specified by its construction argument * uses the transformation's location as the FilesystemContext * allows generation of output documents using _generate_ member method
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,