Commit f44b6052 authored by yannick legoc's avatar yannick legoc

Added boost:: to some classes to avoid name conflict with std:: classes when...

Added boost:: to some classes to avoid name conflict with std:: classes when using cameo version with only C++11
parent d6c4f4ce
......@@ -44,7 +44,7 @@ void DatabaseResponder::init() {
m_responder = application::Responder::create("database");
// Start the thread.
m_thread.reset(new thread(bind(&DatabaseResponder::loop, this)));
m_thread.reset(new boost::thread(boost::bind(&DatabaseResponder::loop, this)));
cout << "Initialised DatabaseResponder" << endl;
}
......
......@@ -51,7 +51,7 @@ void ServantManagerResponder::init() {
m_responder = application::Responder::create("servant_manager");
// Start the thread.
m_thread.reset(new thread(bind(&ServantManagerResponder::loop, this)));
m_thread.reset(new boost::thread(boost::bind(&ServantManagerResponder::loop, this)));
cout << "Initialised ServantManagerResponder" << endl;
}
......
......@@ -39,7 +39,7 @@ void SessionResponder::init() {
m_responder = application::Responder::create("session");
// Start the thread.
m_thread.reset(new thread(bind(&SessionResponder::loop, this)));
m_thread.reset(new boost::thread(boost::bind(&SessionResponder::loop, this)));
cout << "Initialised SessionResponder" << endl;
}
......
......@@ -40,7 +40,7 @@ void CommandLineResponder::init() {
m_responder = application::Responder::create("command_line");
// Start the thread.
m_thread.reset(new thread(bind(&CommandLineResponder::loop, this)));
m_thread.reset(new boost::thread(boost::bind(&CommandLineResponder::loop, this)));
cout << "Initialised CommandLineResponder" << endl;
}
......
......@@ -52,7 +52,7 @@ void CommandZoneResponder::init() {
m_responder = application::Responder::create("command_box");
// Start the thread.
m_thread.reset(new thread(bind(&CommandZoneResponder::loop, this)));
m_thread.reset(new boost::thread(boost::bind(&CommandZoneResponder::loop, this)));
cout << "Initialised CommandZoneResponder" << endl;
}
......
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