Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Mark constructor "explicit".
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 26 Nov 2017 21:52:03 +0000 (22:52 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 26 Nov 2017 21:52:03 +0000 (22:52 +0100)
src/include/surf/maxmin.hpp

index 3b7e207..7074a9b 100644 (file)
@@ -433,7 +433,7 @@ public:
    * @brief Create a new Linear MaxMim system
    * @param selective_update whether we should do lazy updates
    */
    * @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();
 
   /** @brief Free an existing Linear MaxMin system */
   ~s_lmm_system_t();