From 576680fc0cbe8a97b0e439c0db295b23f5f8816c Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 27 Nov 2017 09:52:10 +0100 Subject: [PATCH] Try to fix build on appveyor (mingw). --- src/include/surf/maxmin.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/surf/maxmin.hpp b/src/include/surf/maxmin.hpp index e1ec09e825..97239fd843 100644 --- a/src/include/surf/maxmin.hpp +++ b/src/include/surf/maxmin.hpp @@ -163,7 +163,7 @@ XBT_PUBLIC(double) func_vegas_fpi(lmm_variable_t var, double x); * Then, it is used to list all variables involved in constraint through constraint's xxx_element_set lists, or * vice-versa list all constraints for a given variable. */ -class s_lmm_element_t { +XBT_PUBLIC_CLASS s_lmm_element_t { public: int get_concurrency() const; void decrease_concurrency(); @@ -200,7 +200,7 @@ struct s_lmm_constraint_light_t { * \li Active elements which variable's weight is non-zero (i.e. it is enabled) AND its element value is non-zero. * LMM_solve iterates over active elements during resolution, dynamically making them active or unactive. */ -class s_lmm_constraint_t { +XBT_PUBLIC_CLASS s_lmm_constraint_t { public: s_lmm_constraint_t() = default; s_lmm_constraint_t(void* id_value, double bound_value); @@ -320,7 +320,7 @@ private: * When something prevents us from enabling a variable, we "stage" the weight that we would have like to set, so that as * soon as possible we enable the variable with desired weight */ -class s_lmm_variable_t { +XBT_PUBLIC_CLASS s_lmm_variable_t { public: void initialize(simgrid::surf::Action* id_value, double sharing_weight_value, double bound_value, int number_of_constraints, unsigned visited_value); @@ -427,7 +427,7 @@ inline void s_lmm_element_t::make_inactive() /** * @brief LMM system */ -class s_lmm_system_t { +XBT_PUBLIC_CLASS s_lmm_system_t { public: /** * @brief Create a new Linear MaxMim system -- 2.20.1