diff options
Diffstat (limited to 'osp/impl/service_publisher_impl.h')
-rw-r--r-- | osp/impl/service_publisher_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/osp/impl/service_publisher_impl.h b/osp/impl/service_publisher_impl.h index 1817ab1f..d15e4dc9 100644 --- a/osp/impl/service_publisher_impl.h +++ b/osp/impl/service_publisher_impl.h @@ -18,7 +18,6 @@ class ServicePublisherImpl final : public ServicePublisher, class Delegate { public: Delegate(); - virtual ~Delegate(); void SetPublisherImpl(ServicePublisherImpl* publisher); @@ -29,6 +28,8 @@ class ServicePublisherImpl final : public ServicePublisher, virtual void ResumePublisher() = 0; protected: + virtual ~Delegate(); + void SetState(State state) { publisher_->SetState(state); } ServicePublisherImpl* publisher_ = nullptr; |