X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..e49a11b5879fb7b97beb5a0f7ee0c5275a39cab9:/src/surf/surf_private.hpp diff --git a/src/surf/surf_private.hpp b/src/surf/surf_private.hpp index ba2095af4a..3b4aa08136 100644 --- a/src/surf/surf_private.hpp +++ b/src/surf/surf_private.hpp @@ -11,8 +11,8 @@ /* Generic functions common to all models */ -XBT_PRIVATE FILE* surf_fopen(std::string name, const char* mode); -XBT_PRIVATE std::ifstream* surf_ifsopen(std::string name); +XBT_PRIVATE FILE* surf_fopen(const std::string& name, const char* mode); +XBT_PRIVATE std::ifstream* surf_ifsopen(const std::string& name); XBT_PRIVATE void check_disk_attachment();