Bugzilla – Bug 603
Simulator::Next is useless
Last modified: 2012-03-28 09:03:22 EDT
I would like to kill this method: no one uses it and I have spent a good amount of time searching my archives: no one ever used it outside of yans
while removing this code, I realized that the realtime simulator implementation actually documents that ::Next is supposed to be used by users of Simulator::RunOne. Although we have no such user for now, I am marking this bug as dependent on bug 631.
I am going to mark this method as deprecated and remove it in 3.8
changeset: 369bf20998e8
MPI depends on it: [ 824/1729] cxx: src/mpi/model/distributed-simulator-impl.cc -> build/src/mpi/model/distributed-simulator-impl.cc.1.o ../src/mpi/model/distributed-simulator-impl.cc: In member function ‘virtual void ns3::DistributedSimulatorImpl::Run()’: ../src/mpi/model/distributed-simulator-impl.cc:264:29: error: ‘Next’ was not declared in this scope
I simply have no way to build that code so I pushed a tentative fix. changeset: 941d5f5910a5