fixes telemetry server bug references #121

This commit is contained in:
Peter Thorson
2012-07-11 08:47:45 -05:00
parent 1f8113bbd6
commit 3208b1b493

View File

@@ -66,7 +66,7 @@ public:
typedef boost::shared_ptr<type> ptr;
telemetry_server_handler() : m_done(false),m_value(0) {
boost::function<void(const std::string&)> callback = boost::bind(&type::on_tick,this,_1);
boost::function<bool(const std::string&)> callback = boost::bind(&type::on_tick,this,_1);
// start a thread that will generate telemetry independently and call
// this handler back when it has new data to send.