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_document.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/test_document.cpp') diff --git a/tests/test_document.cpp b/tests/test_document.cpp index 45b8536..2b4c4be 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -5,7 +5,7 @@ #include // because Borland's STL is braindead, we have to include _before_ in order to get memcpy -#include "common.hpp" +#include "test.hpp" #include "writer_string.hpp" @@ -26,6 +26,8 @@ # include // for unlink #endif +using namespace pugi; + static bool load_file_in_memory(const char* path, char*& data, size_t& size) { FILE* file = fopen(path, "rb"); -- cgit v1.2.3