Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
RemotePtr in get_dst_actor()
[simgrid.git] / src / surf / storage_n11.cpp
index dba05a8..eaa1496 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-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. */
 #include "surf/surf.hpp"
 #include "xbt/parse_units.hpp"
 
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_storage);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(res_storage);
 
 /*************
  * CallBacks *
  *************/
-extern std::map<std::string, simgrid::kernel::resource::StorageType*> storage_types;
+extern std::map<std::string, simgrid::kernel::resource::StorageType*, std::less<>> storage_types;
 
 void check_disk_attachment()
 {