-/* Copyright (c) 2007-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2023. 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. */
{
etype_ = etype;
filetype_ = filetype;
- datarep_ = std::string(datarep);
+ datarep_ = datarep;
disp_ = disp;
if (comm_->rank() == 0){
if(disp != MPI_DISPLACEMENT_CURRENT)