Skip to content

Commit

Permalink
Fix MQTTconn
Browse files Browse the repository at this point in the history
  • Loading branch information
cziter15 committed Feb 14, 2025
1 parent 1225202 commit 4adbec1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ksf/comp/ksMqttConnector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ using namespace std::placeholders;

namespace ksf::comps
{
ksMqttConnector::~ksMqttConnector() = default;

ksMqttConnector::ksMqttConnector(bool sendConnectionStatus, bool usePersistentSession)
: reconnectTimer(KSF_MQTT_RECONNECT_DELAY_MS)
{
Expand Down
5 changes: 5 additions & 0 deletions src/ksf/comp/ksMqttConnector.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,10 @@ namespace ksf::comps
@param fingerprint MQTT broker certificate fingerprint - if empty, secure connection won't be used
*/
void setupConnection(const std::string broker, const std::string& port, std::string login, std::string password, std::string prefix, const std::string& fingerprint);

/*!
@brief Destructor (for uniqueptr purposes).
*/
virtual ~ksMqttConnector();
};
}

0 comments on commit 4adbec1

Please sign in to comment.