summaryrefslogtreecommitdiff
path: root/libadhocutil/definedDirs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libadhocutil/definedDirs.h')
-rw-r--r--libadhocutil/definedDirs.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libadhocutil/definedDirs.h b/libadhocutil/definedDirs.h
index d3e6507..accb663 100644
--- a/libadhocutil/definedDirs.h
+++ b/libadhocutil/definedDirs.h
@@ -1,8 +1,7 @@
#ifndef ADHOCUTIL_DEFINEDDIRS_H
#define ADHOCUTIL_DEFINEDDIRS_H
-#include <boost/filesystem/path.hpp>
-#include <boost/filesystem/convenience.hpp>
+#include <filesystem>
#ifndef ROOT
#error "ROOT needs to be defined at compilation time"
@@ -10,9 +9,9 @@
#define XSTR(s) STR(s)
#define STR(s) #s
-const boost::filesystem::path selfExe = boost::filesystem::canonical("/proc/self/exe");
-const boost::filesystem::path binDir = selfExe.parent_path();
-const boost::filesystem::path rootDir(XSTR(ROOT));
+const std::filesystem::path selfExe = std::filesystem::canonical("/proc/self/exe");
+const std::filesystem::path binDir = selfExe.parent_path();
+const std::filesystem::path rootDir(XSTR(ROOT));
#endif