From 809a7a7c06aeb7a346a0914ed680e773d55716e0 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sun, 26 Nov 2017 22:52:03 +0100 Subject: [PATCH] Mark constructor "explicit". --- src/include/surf/maxmin.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1