diff --git a/ioc/singlesrcsubscriptionctx.h b/ioc/singlesrcsubscriptionctx.h index 8321632..5f1bfe5 100644 --- a/ioc/singlesrcsubscriptionctx.h +++ b/ioc/singlesrcsubscriptionctx.h @@ -44,7 +44,7 @@ public: // This is used to store the current value. Each subscription event simply merges // new fields into this value Value currentValue{}; - std::shared_ptr info; + const std::shared_ptr info; epicsMutex eventLock{}; std::unique_ptr subscriptionControl{}; bool eventsEnabled = false;