From 9681bd57384c362e97e4f4eb734884dd18506bd8 Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 6 Feb 2015 23:47:16 +0300 Subject: [PATCH] Fix doc --- cds/sync/monitor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cds/sync/monitor.h b/cds/sync/monitor.h index c3ea5252..7d421672 100644 --- a/cds/sync/monitor.h +++ b/cds/sync/monitor.h @@ -68,16 +68,17 @@ namespace cds { namespace sync { }; \endcode - Monitor's data should be inject into container's node as \p m_SyncMonitorInjection data member: + Monitor's data must be inject into container's node as \p m_SyncMonitorInjection data member: \code template struct my_node { + // ... typename SyncMonitor::node_injection m_SyncMonitorInjection; }; \endcode - The monitor should be a member of your container: + The monitor must be a member of your container: \code template class my_container { @@ -88,7 +89,6 @@ namespace cds { namespace sync { //... }; \endcode - */ /// Monitor scoped lock (RAII) -- 2.34.1