diff --git a/lib/src/dexode/eventbus/TagEventBus.hpp b/lib/src/dexode/eventbus/TagEventBus.hpp index 7e01a27..044221f 100644 --- a/lib/src/dexode/eventbus/TagEventBus.hpp +++ b/lib/src/dexode/eventbus/TagEventBus.hpp @@ -84,7 +84,7 @@ public: return _allBus.processLimit(maxCountOfEvents); } - std::shared_ptr>& get(const std::string& tag) + const std::shared_ptr>& get(const std::string& tag) { return _tagToBus.at(tag); }