X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d8232f0af88b82c158f0451e3b41ef9ec85ced02..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/include/simgrid/jedule/jedule_events.hpp diff --git a/include/simgrid/jedule/jedule_events.hpp b/include/simgrid/jedule/jedule_events.hpp index 5af7f4e576..413ebea9c9 100644 --- a/include/simgrid/jedule/jedule_events.hpp +++ b/include/simgrid/jedule/jedule_events.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2021. 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. */ @@ -23,7 +23,7 @@ public: : name_(name), start_time_(start_time), end_time_(end_time), type_(type) { } - void add_characteristic(char* characteristic); + void add_characteristic(const char* characteristic); void add_resources(const std::vector& host_selection); void add_info(char* key, char* value); void print(FILE* file) const; @@ -40,6 +40,6 @@ private: } } -typedef simgrid::jedule::Event* jed_event_t; +using jed_event_t = simgrid::jedule::Event*; #endif /* JEDULE_EVENTS_H_ */