Commit 99e436bd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Missing const

parent 97cf515a
...@@ -134,7 +134,7 @@ void Config::SetReverse(bool d) ...@@ -134,7 +134,7 @@ void Config::SetReverse(bool d)
reverse=d; reverse=d;
} }
void Config::SetType(char *s) void Config::SetType(const char *s)
{ {
if(!strcasecmp(s,"slp")) if(!strcasecmp(s,"slp"))
{ {
......
...@@ -41,7 +41,7 @@ class Config ...@@ -41,7 +41,7 @@ class Config
void SetDotMode(bool); void SetDotMode(bool);
bool GetDotMode(void); bool GetDotMode(void);
void SetFile(char*); void SetFile(char*);
void SetType(char*); void SetType(const char*);
int GetType(); int GetType();
const char *GetInterface(); const char *GetInterface();
vector<Program*> Programs; vector<Program*> Programs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment