From dae127513a4c52efc8494d26ba2c56c802ba147e Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sun, 12 Nov 2017 21:52:31 +0100 Subject: [PATCH] Remove unused method. --- src/surf/cpu_ti.cpp | 1 - src/surf/surf_interface.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/surf/cpu_ti.cpp b/src/surf/cpu_ti.cpp index c1535d51cf..a4c47a56e2 100644 --- a/src/surf/cpu_ti.cpp +++ b/src/surf/cpu_ti.cpp @@ -525,7 +525,6 @@ void CpuTi::updateActionsFinishTime(double now) min_finish = action->getStartTime() + action->getMaxDuration(); } /* add in action heap */ - XBT_DEBUG("action(%p) index %d", action, action->getIndexHeap()); if (min_finish > NO_MAX_DURATION) action->heapUpdate(model()->getActionHeap(), min_finish, NOTSET); else diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index 719a3c4b86..14c92a03d8 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -249,7 +249,6 @@ public: void setLastValue(double val) { lastValue_ = val; } enum heap_action_type getHat() { return hat_; } bool is_linked() {return action_lmm_hook.is_linked();} - int getIndexHeap() { return indexHeap_; } protected: int suspended_ = 0; }; -- 2.20.1