aboutsummaryrefslogtreecommitdiff
path: root/src/support
diff options
context:
space:
mode:
Diffstat (limited to 'src/support')
-rw-r--r--src/support/filesystem_context.cc3
-rw-r--r--src/support/filesystem_context.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/support/filesystem_context.cc b/src/support/filesystem_context.cc
index be2cfb0..b726f1b 100644
--- a/src/support/filesystem_context.cc
+++ b/src/support/filesystem_context.cc
@@ -64,6 +64,9 @@ FilesystemContext::FilesystemContext(const boost::filesystem::path& path):
FilesystemContext::FilesystemContext(const std::string& path):
FilesystemContext(boost::filesystem::path(path)) { }
+FilesystemContext::FilesystemContext():
+ path_(workingDirectory) { }
+
boost::filesystem::path FilesystemContext::resolve(
const xalan::XalanDOMString& path) const {
return this->resolve(toString(path));
diff --git a/src/support/filesystem_context.h b/src/support/filesystem_context.h
index c00fe29..eefc4a3 100644
--- a/src/support/filesystem_context.h
+++ b/src/support/filesystem_context.h
@@ -22,6 +22,7 @@ class FilesystemContext {
explicit FilesystemContext(const boost::filesystem::path&);
explicit FilesystemContext(const std::string&);
+ FilesystemContext();
boost::filesystem::path resolve(const xalan::XalanDOMString&) const;
boost::filesystem::path resolve(const boost::filesystem::path&) const;