X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab92608267358b56adf7a803480fa2ad9608ed1b..f9436b840852218b39dce22d6057b6f223168daa:/src/surf/storage_interface.cpp diff --git a/src/surf/storage_interface.cpp b/src/surf/storage_interface.cpp index 50c66f4eaf..0f2308a515 100644 --- a/src/surf/storage_interface.cpp +++ b/src/surf/storage_interface.cpp @@ -79,7 +79,7 @@ Storage::~Storage(){ std::map* Storage::parseContent(const char* filename) { usedSize_ = 0; - if ((!filename) || (strcmp(filename, "") == 0)) + if ((not filename) || (strcmp(filename, "") == 0)) return nullptr; std::map* parse_content = new std::map(); @@ -101,7 +101,7 @@ std::map* Storage::parseContent(const char* filename) *psize = size; parse_content->insert({tokens.front(), psize}); } - } while (!fs->eof()); + } while (not fs->eof()); delete fs; return parse_content; }