]> AND Public Git Repository - simgrid.git/blobdiff - src/instr/instr_paje_events.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tutorial: A word about those nasty tesh files that you have in the examples
[simgrid.git] / src / instr / instr_paje_events.hpp
index 744ada9b4e8cd9756889ebb8c82f46b127033474..f26a206ec44fe0124f4479f602b285661add0825 100644 (file)
@@ -81,7 +81,7 @@ public:
   static xbt::signal<void(StateEvent&)> on_destruction;
   StateEvent(Container* container, Type* type, e_event_type event_type, EntityValue* value, TIData* extra);
   ~StateEvent() { on_destruction(*this); }
-  bool has_extra() { return extra_ != nullptr; }
+  bool has_extra() const { return extra_ != nullptr; }
   void print() override;
 };