diff options
Diffstat (limited to 'signal-composer-binding/clientApp.hpp')
-rw-r--r-- | signal-composer-binding/clientApp.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/signal-composer-binding/clientApp.hpp b/signal-composer-binding/clientApp.hpp index 7e1bd9d..f5c913b 100644 --- a/signal-composer-binding/clientApp.hpp +++ b/signal-composer-binding/clientApp.hpp @@ -22,13 +22,13 @@ class clientAppCtx: public Observer<Signal> { private: std::string uuid_; - std::vector<Signal*> subscribedSignals_; + std::vector<std::shared_ptr<Signal>> subscribedSignals_; struct afb_event event_; public: explicit clientAppCtx(const char* uuid); void update(Signal* sig); - void appendSignals(std::vector<Signal*>& sigV); + void appendSignals(std::vector<std::shared_ptr<Signal>>& sigV); int makeSubscription(struct afb_req request); int makeUnsubscription(struct afb_req request); }; |