Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove MC_state_delete()
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 5 Apr 2016 09:38:03 +0000 (11:38 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 5 Apr 2016 14:32:44 +0000 (16:32 +0200)
src/mc/mc_state.cpp
src/mc/mc_state.h

index 35fc678..3ed4e6c 100644 (file)
@@ -66,15 +66,6 @@ State::~State()
 }
 }
 
-/**
- * \brief Deletes a state data structure
- * \param trans The state to be deleted
- */
-void MC_state_delete(simgrid::mc::State* state, int free_snapshot)
-{
-  delete state;
-}
-
 void MC_state_interleave_process(simgrid::mc::State* state, smx_process_t process)
 {
   assert(state);
index 94c7201..1b8659f 100644 (file)
@@ -68,7 +68,6 @@ XBT_PRIVATE void replay(std::list<std::unique_ptr<simgrid::mc::State>> const& st
 }
 
 XBT_PRIVATE simgrid::mc::State* MC_state_new(void);
-XBT_PRIVATE void MC_state_delete(simgrid::mc::State* state, int free_snapshot);
 XBT_PRIVATE void MC_state_interleave_process(simgrid::mc::State* state, smx_process_t process);
 XBT_PRIVATE unsigned int MC_state_interleave_size(simgrid::mc::State* state);
 XBT_PRIVATE int MC_state_process_is_done(simgrid::mc::State* state, smx_process_t process);