X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/52089b08b629d77bce06104b92bf99fecaf0349b..2f2ce19fcb66a634c19de8dda2dc4b4896203537:/src/surf/surf.hpp diff --git a/src/surf/surf.hpp b/src/surf/surf.hpp index c88ca70b05..770c293689 100644 --- a/src/surf/surf.hpp +++ b/src/surf/surf.hpp @@ -169,7 +169,7 @@ public: Resource(ModelPtr model, const char *name, xbt_dict_t properties); virtual ~Resource() { xbt_free((void*)m_name); - xbt_dict_free(&m_properties); + xbt_dict_free(&m_properties); }; virtual void updateState(tmgr_trace_event_t event_type, double value, double date)=0; @@ -214,6 +214,7 @@ public: tmgr_trace_t state_trace, double metric_peak, tmgr_trace_t metric_trace); + ~ResourceLmm() {}; lmm_constraint_t p_constraint; tmgr_trace_event_t p_stateEvent; s_surf_metric_t p_power;