From 1ef9783c3faed6a18e8cc2fba34f48b50bedd08a Mon Sep 17 00:00:00 2001 From: John Glover Date: Sat, 30 Jun 2012 18:48:33 +0100 Subject: [sndobj] Make ErrorMessage method const char* --- src/sndobj/HammingTable.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/sndobj/HammingTable.cpp') diff --git a/src/sndobj/HammingTable.cpp b/src/sndobj/HammingTable.cpp index 20c37b5..f63c43c 100644 --- a/src/sndobj/HammingTable.cpp +++ b/src/sndobj/HammingTable.cpp @@ -77,10 +77,10 @@ HammingTable :: MakeTable(){ ///////////////// ERROR HANDLING /////////////////////////////// -char* +const char* HammingTable::ErrorMessage(){ - char* message; + const char* message; switch(m_error){ @@ -95,5 +95,4 @@ HammingTable::ErrorMessage(){ } return message; - } -- cgit v1.2.3