From 430801b1307b4c820885f161d0b003011c892d77 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 11 Jan 2023 20:08:10 +0100 Subject: Add ctor namespace cfg:: constants and get rid of temporary 'using namespace ctor' --- src/task_ar.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/task_ar.cc') 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; } -- cgit v1.2.3