Permalink
Browse files

fixes telemetry server bug references #121

  • Loading branch information...
1 parent 1f8113b commit 3208b1b493dd2b4be464156f68169a2afb4be2fe @zaphoyd committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/telemetry_server/telemetry_server.cpp
@@ -66,7 +66,7 @@ class telemetry_server_handler : public server::handler {
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.

0 comments on commit 3208b1b

Please sign in to comment.