X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bd2a944e28b5d9e92e5dba1ec6535e117f18eade..b8df87e176f27b25534f27d7e240defa32ca35bc:/src/kernel/resource/Action.cpp?ds=sidebyside diff --git a/src/kernel/resource/Action.cpp b/src/kernel/resource/Action.cpp index 1752c19d54..391ccd3b5b 100644 --- a/src/kernel/resource/Action.cpp +++ b/src/kernel/resource/Action.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -42,8 +42,6 @@ Action::~Action() get_model()->get_action_heap().remove(this); if (modified_set_hook_.is_linked()) simgrid::xbt::intrusive_erase(*get_model()->get_modified_set(), *this); - - xbt_free(category_); } void Action::finish(Action::State state) @@ -111,11 +109,6 @@ void Action::set_bound(double bound) XBT_OUT(); } -void Action::set_category(const char* category) -{ - category_ = xbt_strdup(category); -} - void Action::ref() { refcount_++; @@ -252,5 +245,5 @@ Action* ActionHeap::pop() } } // namespace surf -} // namespace simgrid +} // namespace kernel } // namespace simgrid