From 5867aff943f80f19649c7e6495765af0cb5719b2 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 22 Jun 2017 20:41:08 -0700 Subject: tests: Make using namespace more explicit Hiding using namespace in common.hpp is somewhat surprising so remove common.hpp and move using namespace into all .cpp files that need it. --- tests/test_header_only_2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/test_header_only_2.cpp') diff --git a/tests/test_header_only_2.cpp b/tests/test_header_only_2.cpp index 220c807..e4e876d 100644 --- a/tests/test_header_only_2.cpp +++ b/tests/test_header_only_2.cpp @@ -1,12 +1,14 @@ #define PUGIXML_HEADER_ONLY #define pugi pugih -#include "common.hpp" +#include "test.hpp" // Check header guards #include "../src/pugixml.hpp" #include "../src/pugixml.hpp" +using namespace pugi; + TEST(header_only_2) { xml_document doc; -- cgit v1.2.3