From bc4c5d7dd8d27f580a31206a4387177dcea80bb4 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Tue, 22 Oct 2019 22:45:42 +0200 Subject: [PATCH] [962-implement-the-multi_threading_mgr-h-idea] Fixed trivial typo in comment --- src/lib/util/multi_threading_mgr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/multi_threading_mgr.h b/src/lib/util/multi_threading_mgr.h index 4cbe6aee44..4cf8ea360b 100644 --- a/src/lib/util/multi_threading_mgr.h +++ b/src/lib/util/multi_threading_mgr.h @@ -21,7 +21,7 @@ namespace util { /// /// The standard way to use it is: /// @code -/// if (MultiThreadingMgr::instance().getMode) { +/// if (MultiThreadingMgr::instance().getMode()) { /// multi-threaded code /// } else { /// single-threaded code @@ -35,7 +35,7 @@ namespace util { /// } // end of locked namespace /// /// void foo() { -/// if (MultiThreadingMgr::instance().getMode) { +/// if (MultiThreadingMgr::instance().getMode()) { /// lock_guard lock(mutex_); /// locked::foo(); /// } else { -- 2.47.2