summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/RemoteControl.cpp6
-rw-r--r--src/RemoteControl.h3
2 files changed, 4 insertions, 5 deletions
diff --git a/src/RemoteControl.cpp b/src/RemoteControl.cpp
index 65da3b7..666f891 100644
--- a/src/RemoteControl.cpp
+++ b/src/RemoteControl.cpp
@@ -58,8 +58,10 @@ void RemoteControllerTelnet::restart_thread(long)
void RemoteControllerTelnet::process(long)
{
- m_welcome = "ODR-DabMod Remote Control CLI\nWrite 'help' for help.\n**********\n";
- m_prompt = "> ";
+ std::string m_welcome = "ODR-DabMod Remote Control CLI\n"
+ "Write 'help' for help.\n"
+ "**********\n";
+ std::string m_prompt = "> ";
std::string in_message;
size_t length;
diff --git a/src/RemoteControl.h b/src/RemoteControl.h
index 89a1583..15b35f6 100644
--- a/src/RemoteControl.h
+++ b/src/RemoteControl.h
@@ -289,9 +289,6 @@ class RemoteControllerTelnet : public BaseRemoteController {
/* This controller commands the controllables in the cohort */
std::list<RemoteControllable*> m_cohort;
- std::string m_welcome;
- std::string m_prompt;
-
int m_port;
};