Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Replay: Move callbacks to std::function
[simgrid.git] / examples / smpi / replay / replay.cpp
index 2ac6850..e101ddd 100644 (file)
@@ -17,7 +17,7 @@ static void action_blah(simgrid::xbt::ReplayAction& args)
 action_fun previous_send;
 static void overriding_send(simgrid::xbt::ReplayAction& args)
 {
-  (*previous_send)(args); // Just call the overriden symbol. That's a toy example.
+  previous_send(args); // Just call the overriden symbol. That's a toy example.
 }
 
 int main(int argc, char* argv[])