X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ebb95127bac9bc6d8ba66319f1db561e9a5c6c1..527d6ea1ad739bddb768c4dc654085ddce6fe8bb:/include/simgrid/jedule/jedule_events.hpp?ds=sidebyside diff --git a/include/simgrid/jedule/jedule_events.hpp b/include/simgrid/jedule/jedule_events.hpp index cb86fa3004..0cf00dbfa9 100644 --- a/include/simgrid/jedule/jedule_events.hpp +++ b/include/simgrid/jedule/jedule_events.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2012, 2014-2015. The SimGrid Team. +/* Copyright (c) 2010-2012, 2014-2016. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -21,8 +21,7 @@ namespace jedule{ XBT_PUBLIC_CLASS Event{ public: - Event(std::string name, double start_time, double end_time, std::string type) - : name(name), start_time(start_time), end_time(end_time), type(type){} + Event(std::string name, double start_time, double end_time, std::string type); ~Event(); void addCharacteristic(char *characteristic); void addResources(std::vector *host_selection); @@ -34,7 +33,7 @@ XBT_PUBLIC_CLASS Event{ double start_time; double end_time; std::string type; - std::vector resource_subsets; + std::vector *resource_subsets; std::vector characteristics_list; /* just a list of names (strings) */ std::unordered_map info_map; /* key/value pairs */ };