summaryrefslogtreecommitdiff
path: root/src/task_ar.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/task_ar.cc
parent6af7742c35ecdf2831908443ca0e04bf23317a96 (diff)
Add ctor namespace cfg:: constants and get rid of temporary 'using namespace ctor'
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index 89bbc40..edd60ae 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -10,8 +10,6 @@
#include "execute.h"
#include "util.h"
-using namespace ctor;
-
TaskAR::TaskAR(const ctor::build_configuration& config,
const ctor::settings& settings,
const std::string& target,
@@ -102,10 +100,10 @@ int TaskAR::runInner()
switch(outputSystem())
{
case ctor::output_system::host:
- tool = c.get(cfg::host_ar, "/usr/bin/ar");
+ tool = c.get(ctor::cfg::host_ar, "/usr/bin/ar");
break;
case ctor::output_system::build:
- tool = c.get(cfg::build_ar, "/usr/bin/ar");
+ tool = c.get(ctor::cfg::build_ar, "/usr/bin/ar");
break;
}