diff options
Diffstat (limited to 'src/function/read_file.cc')
-rw-r--r-- | src/function/read_file.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/function/read_file.cc b/src/function/read_file.cc index 439d905..da0e988 100644 --- a/src/function/read_file.cc +++ b/src/function/read_file.cc @@ -26,8 +26,10 @@ namespace InputXSLT { xercesc::DOMDocument* FunctionReadFile::constructDocument( const FilesystemContext&, - const boost::filesystem::path& filePath + const FunctionBase::argument_array& arguments ) { + const boost::filesystem::path& filePath = arguments[0]; + xercesc::DOMDocument* const domDocument( xercesc::DOMImplementation::getImplementation()->createDocument( nullptr, |