summaryrefslogtreecommitdiff
path: root/src/tools.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/tools.cc
parent6af7742c35ecdf2831908443ca0e04bf23317a96 (diff)
Add ctor namespace cfg:: constants and get rid of temporary 'using namespace ctor'
Diffstat (limited to 'src/tools.cc')
-rw-r--r--src/tools.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tools.cc b/src/tools.cc
index 9e7102e..4aaa515 100644
--- a/src/tools.cc
+++ b/src/tools.cc
@@ -8,8 +8,6 @@
#include <cassert>
-using namespace ctor;
-
ToolChain getToolChain(ctor::output_system system)
{
const auto& c = ctor::get_configuration();
@@ -17,10 +15,10 @@ ToolChain getToolChain(ctor::output_system system)
switch(system)
{
case ctor::output_system::host:
- compiler = c.get(cfg::host_cxx, "g++");
+ compiler = c.get(ctor::cfg::host_cxx, "g++");
break;
case ctor::output_system::build:
- compiler = c.get(cfg::build_cxx, "g++");
+ compiler = c.get(ctor::cfg::build_cxx, "g++");
break;
}