aboutsummaryrefslogtreecommitdiff
path: root/src/universe.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/universe.hpp')
-rw-r--r--src/universe.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/universe.hpp b/src/universe.hpp
index fac5f50..ab49f86 100644
--- a/src/universe.hpp
+++ b/src/universe.hpp
@@ -4,6 +4,7 @@
4#include "cancel.hpp" 4#include "cancel.hpp"
5#include "keeper.hpp" 5#include "keeper.hpp"
6#include "lanesconf.h" 6#include "lanesconf.h"
7#include "threading.hpp"
7#include "tracker.hpp" 8#include "tracker.hpp"
8#include "uniquekey.hpp" 9#include "uniquekey.hpp"
9 10
@@ -70,9 +71,9 @@ class Universe final
70 71
71#ifdef PLATFORM_LINUX 72#ifdef PLATFORM_LINUX
72 // Linux needs to check, whether it's been run as root 73 // Linux needs to check, whether it's been run as root
73 bool const sudo{ geteuid() == 0 }; 74 SudoFlag const sudo{ geteuid() == 0 };
74#else 75#else
75 bool const sudo{ false }; 76 SudoFlag const sudo{ false };
76#endif // PLATFORM_LINUX 77#endif // PLATFORM_LINUX
77 78
78 // for verbose errors 79 // for verbose errors