X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d4bf7d1cd502bc979d98e35067872186f2a0a21..19cd5a52131b50275fa26e0e53c4a8bd333f2937:/src/surf/network_constant.hpp diff --git a/src/surf/network_constant.hpp b/src/surf/network_constant.hpp index 61e36a52d0..108941ced3 100644 --- a/src/surf/network_constant.hpp +++ b/src/surf/network_constant.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2013-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2013-2017. 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. */ @@ -30,7 +29,8 @@ namespace simgrid { double nextOccuringEvent(double now) override; void updateActionsState(double now, double delta) override; - LinkImpl* createLink(const char* name, double bw, double lat, e_surf_link_sharing_policy_t policy) override; + LinkImpl* createLink(const std::string& name, double bw, double lat, + e_surf_link_sharing_policy_t policy) override; }; /**********