X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..bad4812e36b65cbfa8f5d14b56cd7fad34f1792b:/src/surf/surf_private.hpp diff --git a/src/surf/surf_private.hpp b/src/surf/surf_private.hpp index ba2095af4a..c5a78275b6 100644 --- a/src/surf/surf_private.hpp +++ b/src/surf/surf_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2021. 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. */ @@ -11,9 +11,7 @@ /* 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 void check_disk_attachment(); +XBT_PRIVATE FILE* surf_fopen(const std::string& name, const char* mode); +XBT_PRIVATE std::ifstream* surf_ifsopen(const std::string& name); #endif