X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..fc416b3a5a1ebce58eb7a6cabb1895f3d68be5fa:/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();