From 52775a29b431b346bf201877159b6abcfb982990 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 27 Dec 2022 12:38:57 +0100 Subject: Fix unit-test with gcc-12 --- test/tools_test.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/tools_test.cc b/test/tools_test.cc index 3e9de1b..743edb6 100644 --- a/test/tools_test.cc +++ b/test/tools_test.cc @@ -1,3 +1,9 @@ +#include +#include +#include + +std::ostream& operator<<(std::ostream& stream, const std::vector& vs); + #include #include @@ -7,8 +13,6 @@ using namespace std::string_literals; -namespace -{ std::ostream& operator<<(std::ostream& stream, const ToolChain& tool_chain) { switch(tool_chain) @@ -74,7 +78,6 @@ std::ostream& operator<<(std::ostream& stream, const std::pair return stream; } -} // Controllable getConfiguration stub: namespace -- cgit v1.2.3