-/* 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. */
: 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<sg_host_t>& host_selection);
void add_info(char* key, char* value);
void print(FILE* file) const;
}
}
-typedef simgrid::jedule::Event* jed_event_t;
+using jed_event_t = simgrid::jedule::Event*;
#endif /* JEDULE_EVENTS_H_ */