From 6c77e778ddf1e4b2fca595c2634e0e54ee715956 Mon Sep 17 00:00:00 2001 From: Daviw Williams Date: Wed, 22 May 2013 15:18:08 +0200 Subject: [PATCH] Added namespace qualifiers. --- .../include/PolyVoxCore/Impl/ErrorHandling.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/Impl/ErrorHandling.h b/library/PolyVoxCore/include/PolyVoxCore/Impl/ErrorHandling.h index c48255d4..17a31107 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Impl/ErrorHandling.h +++ b/library/PolyVoxCore/include/PolyVoxCore/Impl/ErrorHandling.h @@ -97,12 +97,12 @@ namespace PolyVox { \ if (!(condition)) \ { \ - logFatal() << std::endl << std::endl; \ - logFatal() << " PolyVox Assertion Failed!" << std::endl; \ - logFatal() << " =========================" << std::endl; \ - logFatal() << " Condition: " << #condition << std::endl; \ - logFatal() << " Message: " << (message) << std::endl; \ - logFatal() << " Location: " << "Line " << __LINE__ << " of " << __FILE__ << std::endl << std::endl; \ + PolyVox::logFatal() << std::endl << std::endl; \ + PolyVox::logFatal() << " PolyVox Assertion Failed!" << std::endl; \ + PolyVox::logFatal() << " =========================" << std::endl; \ + PolyVox::logFatal() << " Condition: " << #condition << std::endl; \ + PolyVox::logFatal() << " Message: " << (message) << std::endl; \ + PolyVox::logFatal() << " Location: " << "Line " << __LINE__ << " of " << __FILE__ << std::endl << std::endl; \ POLYVOX_HALT(); \ } \ } while(0) \ @@ -157,7 +157,7 @@ namespace PolyVox */ #ifdef POLYVOX_THROW_ENABLED #define POLYVOX_THROW(type, message) \ - logError() << (message); \ + PolyVox::logError() << (message); \ throw type((message)) #else namespace PolyVox @@ -169,7 +169,7 @@ namespace PolyVox } #define POLYVOX_THROW(type, message) \ - logError() << (message); \ + PolyVox::logError() << (message); \ type except = (type)((message)); \ getThrowHandler()((except), __FILE__, __LINE__) #endif