Permalink
Browse files

Fix example for libmosquittopp virtual destructor change.

  • Loading branch information...
1 parent c5ee568 commit a8fedf794f47029941f03b5e096181b4bdbbf878 @ralight ralight committed Feb 8, 2015
Showing with 4 additions and 0 deletions.
  1. +4 −0 examples/temperature_conversion/temperature_conversion.cpp
@@ -13,6 +13,10 @@ mqtt_tempconv::mqtt_tempconv(const char *id, const char *host, int port) : mosqu
connect(host, port, keepalive);
};
+mqtt_tempconv::~mqtt_tempconv()
+{
+}
+
void mqtt_tempconv::on_connect(int rc)
{
printf("Connected with code %d.\n", rc);

0 comments on commit a8fedf7

Please sign in to comment.