Skip to content

Commit

Permalink
Update notifyicon.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Jan 2, 2024
1 parent 54fdfda commit 6eaae19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notifications/notifyicon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace Nickvision::Aura::Notifications
}
for (size_t i = 0; i < m_contextMenu.size(); i++)
{
const std::shared_ptr<NotifyIconMenuItem> item{ m_contextMenu.get(i) };
const std::shared_ptr<NotifyIconMenuItem>& item{ m_contextMenu.get(i) };
if (item->getType() == NotifyIconMenuItemType::Action)
{
const NotifyIconActionMenuItem* action{ static_cast<NotifyIconActionMenuItem*>(item.get()) };
Expand Down

0 comments on commit 6eaae19

Please sign in to comment.