From 8535ee1c8c2c9fa3bb09e2ef3e5eafab5e9d4565 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Fri, 1 Jun 2018 18:21:18 +0200 Subject: [PATCH] [S4U] Mark s4u::Engine constructor as explicit --- include/simgrid/s4u/Engine.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/simgrid/s4u/Engine.hpp b/include/simgrid/s4u/Engine.hpp index 6451084dcc..eabfef26d9 100644 --- a/include/simgrid/s4u/Engine.hpp +++ b/include/simgrid/s4u/Engine.hpp @@ -27,7 +27,7 @@ namespace s4u { class XBT_PUBLIC Engine { public: /** Constructor, taking the command line parameters of your main function */ - Engine(int* argc, char** argv); + explicit Engine(int* argc, char** argv); /** Currently, only one instance is allowed to exist. This is why you can't copy or move it */ Engine(const Engine&) = delete; Engine(Engine&&) = delete; -- 2.20.1