Skip to content
Snippets Groups Projects
Commit cc98501e authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Remove StateBlock::printNotifications()

parent 89d58064
No related branches found
No related tags found
1 merge request!212State blocks
Pipeline #2160 failed
...@@ -71,29 +71,5 @@ StateBlock::Notifications StateBlock::getNotifications() const ...@@ -71,29 +71,5 @@ StateBlock::Notifications StateBlock::getNotifications() const
return notifications_; 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;
}
}
}
} }
...@@ -143,10 +143,6 @@ public: ...@@ -143,10 +143,6 @@ public:
**/ **/
StateBlock::Notifications getNotifications() const; StateBlock::Notifications getNotifications() const;
/** \brief Print list of notifications
**/
void printNotifications() const;
}; };
} // namespace wolf } // namespace wolf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment