X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd33e946a7ea1e4e00053ff43475566229f5c40a..1b94b2100679d5b4355fccb6d22927efc12ca5bc:/src/instr/instr_paje_events.hpp diff --git a/src/instr/instr_paje_events.hpp b/src/instr/instr_paje_events.hpp index 87ed4341cd..3b1da03f7c 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. */ @@ -7,6 +7,7 @@ #define INSTR_PAJE_EVENTS_HPP #include "src/instr/instr_private.hpp" +#include "src/internal_config.h" #include #include @@ -65,8 +66,10 @@ public: class StateEvent : public PajeEvent { EntityValue* value; +#if HAVE_SMPI std::string filename = "(null)"; int linenumber = -1; +#endif TIData* extra_; public: @@ -85,8 +88,8 @@ public: std::string key, int size) : PajeEvent(container, type, SIMIX_get_clock(), event_type) , endpoint_(sourceContainer) - , value_(value) - , key_(key) + , value_(std::move(value)) + , key_(std::move(key)) , size_(size) { }