diff --git a/examples/telemetry_server/telemetry_server.cpp b/examples/telemetry_server/telemetry_server.cpp index 92d8515994..8ffcd1294b 100644 --- a/examples/telemetry_server/telemetry_server.cpp +++ b/examples/telemetry_server/telemetry_server.cpp @@ -66,7 +66,7 @@ public: typedef boost::shared_ptr ptr; telemetry_server_handler() : m_done(false),m_value(0) { - boost::function callback = boost::bind(&type::on_tick,this,_1); + boost::function 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.