summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2014-12-11 16:17:17 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2014-12-11 16:17:17 +0000
commit0cf585b2a7ab4255ee1c6dc6f331e730828b0115 (patch)
tree1699695532e4031e113f1feac13f74528673c9b7
parentUse time based logic controlled from OptionsSource to determine if configurat... (diff)
downloadproject2-0cf585b2a7ab4255ee1c6dc6f331e730828b0115.tar.bz2
project2-0cf585b2a7ab4255ee1c6dc6f331e730828b0115.tar.xz
project2-0cf585b2a7ab4255ee1c6dc6f331e730828b0115.zip
Correctly resolve file options path to an absolute path
-rw-r--r--project2/files/optionsSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/files/optionsSource.cpp b/project2/files/optionsSource.cpp
index ed78be4..7c2dd2b 100644
--- a/project2/files/optionsSource.cpp
+++ b/project2/files/optionsSource.cpp
@@ -6,7 +6,7 @@
#include <boost/algorithm/string/trim.hpp>
FileOptions::FileOptions(const boost::filesystem::path & f) :
- file(boost::filesystem::current_path() / f)
+ file(boost::filesystem::absolute(f))
{
}