]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/plugins/file_system.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
that helper was completely unnecessary... as mpi_wait was doing exactly the same...
[simgrid.git] / include / simgrid / plugins / file_system.h
index 7538d389182ecb55625a2c4cf64799567f2250ac..56617193cec592e7f501439461bf5a1a6e90394f 100644 (file)
@@ -88,8 +88,8 @@ namespace s4u {
  */
 class XBT_PUBLIC File {
 public:
-  File(std::string fullpath, void* userdata);
-  File(std::string fullpath, sg_host_t host, void* userdata);
+  File(const std::string& fullpath, void* userdata);
+  File(const std::string& fullpath, sg_host_t host, void* userdata);
   File(const File&) = delete;
   File& operator=(const File&) = delete;
   ~File();