Skip to content

Commit ebeaeb3

Browse files
author
Paul Harrison
committed
Remove a superfluous const added in fa8b6ee.
The LayoutType is being returned by value so there is no need for the first const. This silences approx 60 warning while compiling the plugins.
1 parent 4f5c3e6 commit ebeaeb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/libs/libmythui/mythuibuttonlist.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class MUI_PUBLIC MythUIButtonList : public MythUIType
152152

153153
uint ItemWidth(void);
154154
uint ItemHeight(void);
155-
const LayoutType GetLayout() const { return m_layout; }
155+
LayoutType GetLayout() const { return m_layout; }
156156

157157
bool MoveItemUpDown(MythUIButtonListItem *item, bool up);
158158

0 commit comments

Comments
 (0)