summaryrefslogtreecommitdiff
path: root/src/libctor.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 20:08:10 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 20:08:10 +0100
commit430801b1307b4c820885f161d0b003011c892d77 (patch)
tree64ce860849ada5c0aa00989532da6639004fe6aa /src/libctor.cc
parent6af7742c35ecdf2831908443ca0e04bf23317a96 (diff)
Add ctor namespace cfg:: constants and get rid of temporary 'using namespace ctor'
Diffstat (limited to 'src/libctor.cc')
-rw-r--r--src/libctor.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libctor.cc b/src/libctor.cc
index 69d35cf..21792e1 100644
--- a/src/libctor.cc
+++ b/src/libctor.cc
@@ -26,14 +26,12 @@
#include "build.h"
#include "unittest.h"
-using namespace ctor;
-
int main(int argc, char* argv[])
{
ctor::settings settings{};
const auto& c = ctor::get_configuration();
- settings.builddir = c.get(cfg::builddir, settings.builddir);
+ settings.builddir = c.get(ctor::cfg::builddir, settings.builddir);
settings.parallel_processes =
std::max(1u, std::thread::hardware_concurrency()) * 2 - 1;