From f40de21e5666be6fa456fedc60584bd672d12c44 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 22 Jan 2013 08:29:55 -0800 Subject: Removing some more cruft. --- includes/Exceptions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/Exceptions.h') diff --git a/includes/Exceptions.h b/includes/Exceptions.h index 962a869..2d452cc 100644 --- a/includes/Exceptions.h +++ b/includes/Exceptions.h @@ -34,13 +34,13 @@ class GeneralException { const std::vector getTrace() const { return m_trace; } protected: - GeneralException() : m_msg(NULL), m_details(NULL) { } + GeneralException() { } void setMsg(char * msg) { if (m_msg) free(m_msg); m_msg = msg; } void genTrace(); private: - mutable char * m_msg; - char * m_details; + mutable char * m_msg = NULL; + char * m_details = NULL; std::vector m_trace; void setDetails(const char * details) { -- cgit v1.2.3