We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4768eb6 commit 39229edCopy full SHA for 39229ed
smacc2/include/smacc2/client_core_components/cp_topic_subscriber.hpp
@@ -40,7 +40,11 @@ class CpTopicSubscriber : public smacc2::ISmaccComponent
40
41
CpTopicSubscriber() { initialized_ = false; }
42
43
- CpTopicSubscriber(std::string topicname) { topicName_ = topicname; }
+ CpTopicSubscriber(std::string topicname)
44
+ {
45
+ topicName_ = topicname;
46
+ initialized_ = false;
47
+ }
48
49
virtual ~CpTopicSubscriber() {}
50
0 commit comments