Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please clang and remove useless field
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 10 Jul 2017 08:18:59 +0000 (10:18 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 10 Jul 2017 08:18:59 +0000 (10:18 +0200)
include/simgrid/s4u/File.hpp
src/s4u/s4u_file.cpp

index 5c3dc74..11167ff 100644 (file)
@@ -81,7 +81,6 @@ private:
   surf_file_t pimpl_ = nullptr;
   const char* path_  = nullptr;
   void* userdata_    = nullptr;
-  sg_host_t host_    = nullptr;
 };
 }
 } // namespace simgrid::s4u
index 4ebf68f..a60d35f 100644 (file)
@@ -19,7 +19,7 @@ namespace s4u {
 
 File::File(const char* fullpath, void* userdata) : File(fullpath, Host::current(), userdata){};
 
-File::File(const char* fullpath, sg_host_t host, void* userdata) : path_(fullpath), userdata_(userdata), host_(host)
+File::File(const char* fullpath, sg_host_t host, void* userdata) : path_(fullpath), userdata_(userdata)
 {
   // this cannot fail because we get a xbt_die if the mountpoint does not exist
   Storage* st                  = nullptr;