summaryrefslogtreecommitdiff
path: root/test/tools_test.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-10 16:00:36 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:13:24 +0100
commit1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (patch)
tree2f71f2aa6d6dd29eda51924f985de7f9caee78c0 /test/tools_test.cc
parentf31661d392c1332ceb0edcbc9fd35f4cb49bb50d (diff)
Put ctor.h contents in ctor namespace.
Diffstat (limited to 'test/tools_test.cc')
-rw-r--r--test/tools_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tools_test.cc b/test/tools_test.cc
index 743edb6..0f97bd3 100644
--- a/test/tools_test.cc
+++ b/test/tools_test.cc
@@ -11,6 +11,7 @@ std::ostream& operator<<(std::ostream& stream, const std::vector<std::string>& v
#include <tools.h>
+using namespace ctor;
using namespace std::string_literals;
std::ostream& operator<<(std::ostream& stream, const ToolChain& tool_chain)
@@ -85,6 +86,8 @@ namespace
std::string conf_host_cxx{};
std::string conf_build_cxx{};
}
+
+namespace ctor {
const std::string& getConfiguration(const std::string& key,
const std::string& defval)
{
@@ -103,6 +106,7 @@ const std::string& getConfiguration(const std::string& key,
static std::string res{};
return res;
}
+} // namespace ctor::
class ToolsTest
: public uUnit