From: Arnaud Giersch Date: Sun, 26 Nov 2017 21:52:03 +0000 (+0100) Subject: Mark constructor "explicit". X-Git-Tag: v3.18~234^2~9 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/809a7a7c06aeb7a346a0914ed680e773d55716e0?ds=sidebyside Mark constructor "explicit". --- diff --git a/src/include/surf/maxmin.hpp b/src/include/surf/maxmin.hpp index 3b7e2074d0..7074a9b825 100644 --- a/src/include/surf/maxmin.hpp +++ b/src/include/surf/maxmin.hpp @@ -433,7 +433,7 @@ public: * @brief Create a new Linear MaxMim system * @param selective_update whether we should do lazy updates */ - s_lmm_system_t(bool selective_update); + explicit s_lmm_system_t(bool selective_update); /** @brief Free an existing Linear MaxMin system */ ~s_lmm_system_t();