From 02691e0cde03e72f9d670e0398be756ac97073e2 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Fri, 1 Oct 2021 04:24:23 +0200 Subject: [PATCH] Fix Windows build? --- src/TopicTree.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TopicTree.h b/src/TopicTree.h index a027f5c..94edfb5 100644 --- a/src/TopicTree.h +++ b/src/TopicTree.h @@ -82,10 +82,11 @@ struct TopicTree { FIRST = 2 }; -private: /* Whomever is iterating this topic is locked to not modify its own list */ Subscriber *iteratingSubscriber = nullptr; +private: + /* The drain callback must not publish, unsubscribe or subscribe. * It must only cork, uncork, send, write */ std::function cb;