X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..e3a1cf8d29cef5eaf730b485da389cff9319fa56:/src/surf/StorageImpl.hpp diff --git a/src/surf/StorageImpl.hpp b/src/surf/StorageImpl.hpp index 183d2b0bb7..e3c508acd3 100644 --- a/src/surf/StorageImpl.hpp +++ b/src/surf/StorageImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-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. */ @@ -8,8 +8,8 @@ #include "simgrid/kernel/resource/Resource.hpp" #include "simgrid/s4u/Io.hpp" #include "simgrid/s4u/Storage.hpp" +#include "src/kernel/resource/profile/trace_mgr.hpp" #include "src/surf/PropertyHolder.hpp" -#include "src/surf/trace_mgr.hpp" #include "surf_interface.hpp" #include @@ -51,6 +51,8 @@ simgrid::xbt::signal* properties, std::unordered_map* model_properties, sg_size_t size) - : id(id), model(model), content(content), properties(properties), model_properties(model_properties), size(size) + : id(std::move(id)) + , model(std::move(model)) + , content(std::move(content)) + , properties(properties) + , model_properties(model_properties) + , size(size) { } };