Skip to content

Commit

Permalink
Use char instead of unsigned short int for small enum class.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 25, 2024
1 parent 12b0ee9 commit d56b4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/wble/DoubleSlider.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public Q_SLOTS:
void changeEvent(QEvent* event) override;

private:
enum class Handle : unsigned short int
enum class Handle : char
{
NONE,
LEFT,
Expand Down

0 comments on commit d56b4f4

Please sign in to comment.