Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / instr / instr_resource_utilization.cpp
index 1e52e69..c308b5d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2020. The SimGrid Team.
+/* Copyright (c) 2010-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -15,7 +15,7 @@ void resource_set_utilization(const char* type, const char* name, const char* re
                               double value, double now, double delta)
 {
   // only trace resource utilization if resource is known by tracing mechanism
-  container_t container = Container::by_name_or_null(resource);
+  Container* container = Container::by_name_or_null(resource);
   if (container == nullptr || value == 0.0)
     return;