Parcourir la source

Return time to start function

Eric Ramat il y a 5 ans
Parent
commit
6f4104bf44
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      src/tests/multithreading/lifegame/models.hpp

+ 1 - 2
src/tests/multithreading/lifegame/models.hpp

@@ -115,7 +115,7 @@ namespace artis {
                         dext(t, e, bag);
                         dext(t, e, bag);
                     }
                     }
 
 
-                    typename common::DoubleTime::type start(typename common::DoubleTime::type t) override
+                    void start(typename common::DoubleTime::type t) override
                     {
                     {
                         (void) t;
                         (void) t;
 
 
@@ -124,7 +124,6 @@ namespace artis {
                         _state = _initial_state;
                         _state = _initial_state;
                         _true_neighbour_number = 0;
                         _true_neighbour_number = 0;
                         _received = 0;
                         _received = 0;
-                        return 0;
                     }
                     }
 
 
                     typename common::DoubleTime::type ta(typename common::DoubleTime::type /* t */) const override
                     typename common::DoubleTime::type ta(typename common::DoubleTime::type /* t */) const override