aboutsummaryrefslogtreecommitdiff
path: root/src/function
diff options
context:
space:
mode:
Diffstat (limited to 'src/function')
-rw-r--r--src/function/read_directory.h3
-rw-r--r--src/function/read_file.h3
-rw-r--r--src/function/read_xml_file.h3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/function/read_directory.h b/src/function/read_directory.h
index d34a80a..85e7f1b 100644
--- a/src/function/read_directory.h
+++ b/src/function/read_directory.h
@@ -9,6 +9,9 @@ class FunctionReadDirectory : public FunctionBase<FunctionReadDirectory> {
public:
using FunctionBase<FunctionReadDirectory>::FunctionBase;
+ protected:
+ friend FunctionBase;
+
xercesc::DOMDocument* constructDocument(
const FilesystemContext&,
const boost::filesystem::path&
diff --git a/src/function/read_file.h b/src/function/read_file.h
index b89263e..b581ee5 100644
--- a/src/function/read_file.h
+++ b/src/function/read_file.h
@@ -9,6 +9,9 @@ class FunctionReadFile : public FunctionBase<FunctionReadFile> {
public:
using FunctionBase<FunctionReadFile>::FunctionBase;
+ protected:
+ friend FunctionBase;
+
xercesc::DOMDocument* constructDocument(
const FilesystemContext&,
const boost::filesystem::path&
diff --git a/src/function/read_xml_file.h b/src/function/read_xml_file.h
index b1d165d..4aebe56 100644
--- a/src/function/read_xml_file.h
+++ b/src/function/read_xml_file.h
@@ -9,6 +9,9 @@ class FunctionReadXmlFile : public FunctionBase<FunctionReadXmlFile> {
public:
using FunctionBase<FunctionReadXmlFile>::FunctionBase;
+ protected:
+ friend FunctionBase;
+
xercesc::DOMDocument* constructDocument(
const FilesystemContext&,
const boost::filesystem::path&