From 169abf80991654b8f7d6595627603b79d4b8b854 Mon Sep 17 00:00:00 2001 From: hsaturn Date: Mon, 22 Mar 2021 02:34:23 +0100 Subject: [PATCH] allow MqttClient to be constructed with nothing --- src/TinyMqtt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TinyMqtt.h b/src/TinyMqtt.h index 43965d2..d702de9 100644 --- a/src/TinyMqtt.h +++ b/src/TinyMqtt.h @@ -112,6 +112,7 @@ class MqttClient }; public: MqttClient(MqttBroker*); + MqttClient() : MqttClient(nullptr) {}; ~MqttClient();