Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Smart pointer is not necessary for Actor::self.
[simgrid.git] / src / smpi / smpi_replay_main.cpp
index 72898c5..2404541 100644 (file)
@@ -6,7 +6,7 @@
 
 int main(int argc, char* argv[])
 {
-  if (simgrid::s4u::Actor::self().get() == nullptr) {
+  if (simgrid::s4u::Actor::self() == nullptr) {
     printf("smpireplaymain should not be called directly. Please use smpirun -replay instead.\n");
     return 1;
   }