From: Martin Quinson Date: Sun, 6 Jan 2019 16:33:23 +0000 (+0100) Subject: please sonar, add 'explicit' X-Git-Tag: v3_22~665 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/18809c9eaf8282a515da08bda0a2065d362c5957?ds=sidebyside please sonar, add 'explicit' --- diff --git a/src/kernel/context/ContextSwapped.hpp b/src/kernel/context/ContextSwapped.hpp index 77fb48af40..41a174720c 100644 --- a/src/kernel/context/ContextSwapped.hpp +++ b/src/kernel/context/ContextSwapped.hpp @@ -18,7 +18,7 @@ class SwappedContext; class SwappedContextFactory : public ContextFactory { friend SwappedContext; // Reads whether we are in parallel mode public: - SwappedContextFactory(std::string name); + explicit SwappedContextFactory(std::string name); ~SwappedContextFactory() override; void run_all() override;