-/* 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. */
class StateEvent : public PajeEvent {
EntityValue* value;
- std::string filename = "(null)";
#if HAVE_SMPI
+ std::string filename = "(null)";
int linenumber = -1;
#endif
TIData* extra_;
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)
{
}