summaryrefslogtreecommitdiff
path: root/includes/Exceptions.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2013-01-22 08:29:55 -0800
committerPixel <pixel@nobis-crew.org>2013-01-22 08:29:55 -0800
commitf40de21e5666be6fa456fedc60584bd672d12c44 (patch)
treeb80497de619e661e246725b1cebcd68533d4e237 /includes/Exceptions.h
parent107d87dc983f34e4ff23a4db188baa650ac51f98 (diff)
Removing some more cruft.
Diffstat (limited to 'includes/Exceptions.h')
-rw-r--r--includes/Exceptions.h6
1 files changed, 3 insertions, 3 deletions
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<String> 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<String> m_trace;
void setDetails(const char * details) {