From: Arnaud Giersch Date: Tue, 24 Oct 2017 16:57:26 +0000 (+0200) Subject: Add comment in empty method body. X-Git-Tag: v3.18~397^2~16 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bf4412791a48b391295ec03e314b42fc49b4b567 Add comment in empty method body. --- diff --git a/src/kernel/context/ContextThread.hpp b/src/kernel/context/ContextThread.hpp index f47f59f3af..36104b3a36 100644 --- a/src/kernel/context/ContextThread.hpp +++ b/src/kernel/context/ContextThread.hpp @@ -40,8 +40,8 @@ private: void start(); // match a call to release() void yield(); // match a call to yield() - virtual void start_hook() {} // called after start() - virtual void yield_hook() {} // called before yield() + virtual void start_hook() { /* empty placeholder, called after start() */} + virtual void yield_hook() { /* empty placeholder, called before yield() */} static void* wrapper(void *param); };