diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2014-12-11 16:17:17 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2014-12-11 16:17:17 +0000 |
commit | 901cd14f3ba7b89e7eb4035904260316aec04c4a (patch) | |
tree | 1699695532e4031e113f1feac13f74528673c9b7 | |
parent | Use time based logic controlled from OptionsSource to determine if configurat... (diff) | |
download | project2-901cd14f3ba7b89e7eb4035904260316aec04c4a.tar.bz2 project2-901cd14f3ba7b89e7eb4035904260316aec04c4a.tar.xz project2-901cd14f3ba7b89e7eb4035904260316aec04c4a.zip |
Correctly resolve file options path to an absolute path
-rw-r--r-- | project2/files/optionsSource.cpp | 2 |
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)) { } |