diff options
author | Adrian Kummerländer | 2014-06-07 17:24:44 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-06-07 17:24:44 +0200 |
commit | 5f6fc45749b99e9013f04c95a525f2d627db01bf (patch) | |
tree | 6ba7598c874b89e893fb9b5f66e2cf26a85ac063 /src/function/read_file.cc | |
parent | 272b34c1a4639cd0f909bfb52d30339c93b0c42b (diff) | |
download | InputXSLT-5f6fc45749b99e9013f04c95a525f2d627db01bf.tar InputXSLT-5f6fc45749b99e9013f04c95a525f2d627db01bf.tar.gz InputXSLT-5f6fc45749b99e9013f04c95a525f2d627db01bf.tar.bz2 InputXSLT-5f6fc45749b99e9013f04c95a525f2d627db01bf.tar.lz InputXSLT-5f6fc45749b99e9013f04c95a525f2d627db01bf.tar.xz InputXSLT-5f6fc45749b99e9013f04c95a525f2d627db01bf.tar.zst InputXSLT-5f6fc45749b99e9013f04c95a525f2d627db01bf.zip |
Improved FunctionBase constructDocument parameter propagation
* replaced std::tuple constructing Mapper template methods with direct XObjectArgVectorType unpacking
** XObjectValue::get template method is applied directly using parameter pack unpacking
* implemented custom IndexSequence / Sequence type to provide vector indexes
* modified all external functions to provide matching constructDocument overloads
Diffstat (limited to 'src/function/read_file.cc')
-rw-r--r-- | src/function/read_file.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/function/read_file.cc b/src/function/read_file.cc index 79e321d..22e96d7 100644 --- a/src/function/read_file.cc +++ b/src/function/read_file.cc @@ -26,9 +26,8 @@ namespace InputXSLT { xercesc::DOMDocument* FunctionReadFile::constructDocument( const FilesystemContext& fsContext, - const FunctionBase::parameter_tuple& parameters + std::string rawPath ) { - const std::string& rawPath = std::get<0>(parameters); boost::filesystem::path filePath(fsContext.resolve(rawPath)); if ( !(boost::filesystem::exists(filePath) && |