X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c0435583509787da28e7d312edbf16fc7f912c92..4d648ebbbe5705878080b9cbf1ca61497323c592:/src/instr/instr_paje_events.hpp diff --git a/src/instr/instr_paje_events.hpp b/src/instr/instr_paje_events.hpp index 27ce68dc01..d57c64446a 100644 --- a/src/instr/instr_paje_events.hpp +++ b/src/instr/instr_paje_events.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-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. */ @@ -74,6 +74,7 @@ class StateEvent : public PajeEvent { public: StateEvent(Container* container, Type* type, e_event_type event_type, EntityValue* value, TIData* extra); + ~StateEvent(); void print() override; }; @@ -84,8 +85,8 @@ class LinkEvent : public PajeEvent { int size_ = -1; public: - LinkEvent(Container* container, Type* type, e_event_type event_type, Container* sourceContainer, std::string value, - std::string key, int size) + LinkEvent(Container* container, Type* type, e_event_type event_type, Container* sourceContainer, + const std::string& value, const std::string& key, int size) : PajeEvent(container, type, SIMIX_get_clock(), event_type) , endpoint_(sourceContainer) , value_(value)