From 5d84dae3577a9d4112c765636171bd0830932f89 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Aug 2017 18:20:40 +0300 Subject: Fix code style. --- src/gui/shortcut/itemshortcut.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/shortcut/itemshortcut.h') diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h index 7f351cabc..b7ea160a7 100644 --- a/src/gui/shortcut/itemshortcut.h +++ b/src/gui/shortcut/itemshortcut.h @@ -74,11 +74,11 @@ class ItemShortcut final ItemColor getItemColor(const int index) const A_WARN_UNUSED { return mItemColors[index]; } - void setItemData(const int index, + void setItemData(const size_t index, const std::string &data) { mItemData[index] = data; } - std::string getItemData(const int index) const A_WARN_UNUSED + std::string getItemData(const size_t index) const A_WARN_UNUSED { return mItemData[index]; } /** @@ -104,7 +104,7 @@ class ItemShortcut final const int item, const ItemColor color); - void setItemFast(const int index, + void setItemFast(const size_t index, const int item, const ItemColor color); -- cgit v1.2.3-60-g2f50