summaryrefslogtreecommitdiff
path: root/src/sndobj/HammingTable.cpp
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-06-30 18:48:33 +0100
committerJohn Glover <j@johnglover.net>2012-06-30 18:48:33 +0100
commit1ef9783c3faed6a18e8cc2fba34f48b50bedd08a (patch)
treeba0c26de48baa85614b417643dd71bcab8e941c4 /src/sndobj/HammingTable.cpp
parent53d3a19792635869eac66115dbc006c3a0f23a58 (diff)
downloadsimpl-1ef9783c3faed6a18e8cc2fba34f48b50bedd08a.tar.gz
simpl-1ef9783c3faed6a18e8cc2fba34f48b50bedd08a.tar.bz2
simpl-1ef9783c3faed6a18e8cc2fba34f48b50bedd08a.zip
[sndobj] Make ErrorMessage method const char*
Diffstat (limited to 'src/sndobj/HammingTable.cpp')
-rw-r--r--src/sndobj/HammingTable.cpp5
1 files changed, 2 insertions, 3 deletions
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;
-
}