summaryrefslogtreecommitdiff
path: root/src/sndobj/HarmTable.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/HarmTable.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/HarmTable.cpp')
-rw-r--r--src/sndobj/HarmTable.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/sndobj/HarmTable.cpp b/src/sndobj/HarmTable.cpp
index 28fcd09..a858efa 100644
--- a/src/sndobj/HarmTable.cpp
+++ b/src/sndobj/HarmTable.cpp
@@ -129,10 +129,10 @@ HarmTable :: MakeTable(){
///////////////// ERROR HANDLING ///////////////////////////////
-char*
+const char*
HarmTable::ErrorMessage(){
- char* message;
+ const char* message;
switch(m_error){
@@ -150,11 +150,4 @@ HarmTable::ErrorMessage(){
}
return message;
-
}
-
-
-
-
-
-