From: Francis Dupont Date: Tue, 22 Oct 2019 20:45:42 +0000 (+0200) Subject: [962-implement-the-multi_threading_mgr-h-idea] Fixed trivial typo in comment X-Git-Tag: Kea-1.7.1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4c5d7dd8d27f580a31206a4387177dcea80bb4;p=thirdparty%2Fkea.git [962-implement-the-multi_threading_mgr-h-idea] Fixed trivial typo in comment --- 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 {