Fix example for libmosquittopp virtual destructor change.
This commit is contained in:
parent
c5ee5686bd
commit
a8fedf794f
@ -13,6 +13,10 @@ mqtt_tempconv::mqtt_tempconv(const char *id, const char *host, int port) : mosqu
|
|||||||
connect(host, port, keepalive);
|
connect(host, port, keepalive);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mqtt_tempconv::~mqtt_tempconv()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void mqtt_tempconv::on_connect(int rc)
|
void mqtt_tempconv::on_connect(int rc)
|
||||||
{
|
{
|
||||||
printf("Connected with code %d.\n", rc);
|
printf("Connected with code %d.\n", rc);
|
||||||
|
Loading…
Reference in New Issue
Block a user