From c25fbf0c498f1b24a9254f71f955bcb5354b1daf Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 10 Mar 2018 03:45:56 +0100 Subject: [PATCH] forbid an incomplete and unused constructor --- src/kernel/lmm/maxmin.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/lmm/maxmin.hpp b/src/kernel/lmm/maxmin.hpp index 4959214290..e5efd9d646 100644 --- a/src/kernel/lmm/maxmin.hpp +++ b/src/kernel/lmm/maxmin.hpp @@ -85,7 +85,7 @@ namespace lmm { * * max( var1.weight * var1.value * elem5.value , var3.weight * var3.value * elem6.value ) <= cons3.bound * - * This is usefull for the sharing of resources for various models. + * This is useful for the sharing of resources for various models. * For instance, for the network model, each link is associated to a constraint and each communication to a variable. * * Implementation details @@ -209,7 +209,7 @@ struct ConstraintLight { XBT_PUBLIC_CLASS Constraint { public: - Constraint() = default; + Constraint() = delete; Constraint(void* id_value, double bound_value); /** @brief Unshare a constraint. */ -- 2.20.1