From cc98501e3c0598d36e5e97c56b1d8988eba54da7 Mon Sep 17 00:00:00 2001 From: Joan Sola <jsola@iri.upc.edu> Date: Wed, 14 Nov 2018 18:03:18 +0100 Subject: [PATCH] Remove StateBlock::printNotifications() --- src/state_block.cpp | 24 ------------------------ src/state_block.h | 4 ---- 2 files changed, 28 deletions(-) diff --git a/src/state_block.cpp b/src/state_block.cpp index 83ceed180..3e53245de 100644 --- a/src/state_block.cpp +++ b/src/state_block.cpp @@ -71,29 +71,5 @@ StateBlock::Notifications StateBlock::getNotifications() const return notifications_; } -void StateBlock::printNotifications() const -{ - WOLF_TRACE("SB Notifications for: ", shared_from_this()); - std::lock_guard<std::mutex> lock(notifictions_mut_); - for (auto notif : notifications_) - { - switch (notif) - { - case Notification::ADD: - WOLF_TRACE(" ADD") - break; - case Notification::REMOVE: - WOLF_TRACE(" REMOVE") - break; - case Notification::UPDATE_FIX: - WOLF_TRACE(" UPDATE_FIX") - break; - case Notification::UPDATE_STATE: - WOLF_TRACE(" UPDATE_STATE") - break; - } - } - -} } diff --git a/src/state_block.h b/src/state_block.h index 08d5af659..d2d7c3159 100644 --- a/src/state_block.h +++ b/src/state_block.h @@ -143,10 +143,6 @@ public: **/ StateBlock::Notifications getNotifications() const; - /** \brief Print list of notifications - **/ - void printNotifications() const; - }; } // namespace wolf -- GitLab