aboutsummaryrefslogtreecommitdiff
path: root/src/function/read_file.cc
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-11-09 12:00:22 +0100
committerAdrian Kummerlaender2014-11-09 12:00:22 +0100
commitaa7afee1047a2de790a70dceda9079c8d5d01850 (patch)
tree4c7685ec6d6c171c24ab87ea853389170c686569 /src/function/read_file.cc
parent71a637be86177e82a8fc0c654639c2fa83c13f5d (diff)
downloadInputXSLT-aa7afee1047a2de790a70dceda9079c8d5d01850.tar
InputXSLT-aa7afee1047a2de790a70dceda9079c8d5d01850.tar.gz
InputXSLT-aa7afee1047a2de790a70dceda9079c8d5d01850.tar.bz2
InputXSLT-aa7afee1047a2de790a70dceda9079c8d5d01850.tar.lz
InputXSLT-aa7afee1047a2de790a70dceda9079c8d5d01850.tar.xz
InputXSLT-aa7afee1047a2de790a70dceda9079c8d5d01850.tar.zst
InputXSLT-aa7afee1047a2de790a70dceda9079c8d5d01850.zip
Removed unnecessary `inline` declarations
* e.g. member functions defined in the class definition are implicitly marked `inline`
Diffstat (limited to 'src/function/read_file.cc')
-rw-r--r--src/function/read_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function/read_file.cc b/src/function/read_file.cc
index bbc8315..8216034 100644
--- a/src/function/read_file.cc
+++ b/src/function/read_file.cc
@@ -21,7 +21,7 @@ boost::optional<xercesc::DOMNode*> readXmlFile(
xercesc::DOMDocument* const domDocument
) {
const xercesc::LocalFileInputSource file(
- *InputXSLT::XercesStringGuard<XMLCh>(filePath.string().data())
+ *InputXSLT::XercesStringGuard<XMLCh>(filePath.string())
);
xercesc::XercesDOMParser parser;
@@ -79,7 +79,7 @@ DomDocumentCache::document_ptr FunctionReadFile::constructDocument(
if ( auto importedNode = readXmlFile(
filePath,
- domDocument.get())
+ domDocument.get())
) {
result.setContent(*importedNode);