From e466b08a107c62526474f4f7644d29672a117dbd Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 10 Mar 2015 16:20:12 +1100 Subject: [PATCH] aabb: instance the class in util namespace fixes clang compilation error --- aabb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aabb.cpp b/aabb.cpp index b54a496b..de772e7b 100644 --- a/aabb.cpp +++ b/aabb.cpp @@ -91,7 +91,7 @@ util::operator<< (std::ostream &os, AABB b) //----------------------------------------------------------------------------- #define INSTANTIATE_S_T(S,T) \ -template struct AABB; \ +namespace util { template struct AABB; } \ template bool debug::valid (const AABB&); \ template std::ostream& util::operator<< (std::ostream&, AABB);