Skip to content

Commit

Permalink
Fix example for libmosquittopp virtual destructor change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Feb 8, 2015
1 parent c5ee568 commit a8fedf7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/temperature_conversion/temperature_conversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a8fedf7

Please sign in to comment.