diff options
Diffstat (limited to 'includes/Exceptions.h')
-rw-r--r-- | includes/Exceptions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/Exceptions.h b/includes/Exceptions.h index 53c4949..2b20e1e 100644 --- a/includes/Exceptions.h +++ b/includes/Exceptions.h @@ -131,10 +131,10 @@ static inline void TestHelper(const String & msg) throw (TestException) { template<typename T> ClassName::ClassName(T * ptr) { #ifdef _MSC_VER - m_demangled = strdup(typeid(*ptr).name()); + m_demangled = strdup(typeid(*ptr).name()); #else - int status; - m_demangled = abi::__cxa_demangle(typeid(*ptr).name(), 0, 0, &status); + int status; + m_demangled = abi::__cxa_demangle(typeid(*ptr).name(), 0, 0, &status); #endif } |