summaryrefslogtreecommitdiff
path: root/src/module.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-05-09 10:12:58 (GMT)
committerMarius Kintel <marius@kintel.net>2013-05-09 10:12:58 (GMT)
commit14e1ad23635a65d98c59ae14e35484abbd3ba6c4 (patch)
tree0ef8483812496e456023a9341dcf76f0bbba7006 /src/module.cc
parent0e938364fea8c3ab07b06491fd21cb34a403bf99 (diff)
Forgot to actually add most files in previous commit (#217)
Diffstat (limited to 'src/module.cc')
-rw-r--r--src/module.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/module.cc b/src/module.cc
index 9503f05..8b84c07 100644
--- a/src/module.cc
+++ b/src/module.cc
@@ -71,7 +71,10 @@ IfElseModuleInstantiation::~IfElseModuleInstantiation()
/*!
Returns the absolute path to the given filename, unless it's empty.
- */
+
+ NB! This will actually search for the file, to be backwards compatible with <= 2013.01
+ (see issue #217)
+*/
std::string ModuleInstantiation::getAbsolutePath(const std::string &filename) const
{
if (!filename.empty() && !boosty::is_absolute(fs::path(filename))) {
contact: Jan Huwald // Impressum