summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget2.h')
-rw-r--r--src/gui/widgets/widget2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h
index bbf9beff6..32e51d7c3 100644
--- a/src/gui/widgets/widget2.h
+++ b/src/gui/widgets/widget2.h
@@ -37,14 +37,14 @@ class Widget2 notfinal
inline const Color &getThemeColor(const ThemeColorIdT type,
const unsigned int alpha = 255U)
- const A_WARN_UNUSED
+ const A_WARN_UNUSED A_INLINE
{
return theme->getColor(type + mPaletteOffset, alpha);
}
inline const Color &getThemeCharColor(const signed char c,
bool &valid)
- const A_WARN_UNUSED
+ const A_WARN_UNUSED A_INLINE
{
if (!theme)
return Palette::BLACK;