X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ab3abe53dde0026da7545fb7a80f29caf22a39b..ebea5466c29bb26e44d4c97d6287fb3ddfdda9b1:/src/mc/mc_compare.cpp diff --git a/src/mc/mc_compare.cpp b/src/mc/mc_compare.cpp index fc84a15db9..9874969b4c 100644 --- a/src/mc/mc_compare.cpp +++ b/src/mc/mc_compare.cpp @@ -542,23 +542,5 @@ int snapshot_compare(int num1, simgrid::mc::Snapshot* s1, int num2, simgrid::mc: return errors > 0 || hash_result; } -int snapshot_compare(mc_state_t state1, mc_state_t state2) -{ - simgrid::mc::Snapshot* s1 = state1->system_state; - simgrid::mc::Snapshot* s2 = state2->system_state; - int num1 = state1->num; - int num2 = state2->num; - return snapshot_compare(num1, s1, num2, s2); -} - -int snapshot_compare(simgrid::mc::VisitedState* state1, simgrid::mc::VisitedState* state2) -{ - simgrid::mc::Snapshot* s1 = state1->system_state; - simgrid::mc::Snapshot* s2 = state2->system_state; - int num1 = state1->num; - int num2 = state2->num; - return snapshot_compare(num1, s1, num2, s2); -} - } }