Skip to content

Commit

Permalink
Fix: _subscribedTopics vector syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBoehm committed Jan 15, 2025
1 parent a0df9e5 commit 52e3ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/solarcharger/mqtt/Provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Provider : public ::SolarChargers::Provider {
String _outputPowerTopic;
String _outputVoltageTopic;
String _outputCurrentTopic;
auto _subscribedTopics = std::vector<String>();
std::vector<String> _subscribedTopics;
std::shared_ptr<Stats> _stats = std::make_shared<Stats>();

void onMqttMessageOutputPower(espMqttClientTypes::MessageProperties const& properties,
Expand Down

0 comments on commit 52e3ea6

Please sign in to comment.