mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-24 18:26:37 +00:00
Fix clang warnings
This commit is contained in:
parent
f453ce27a0
commit
d49a6a119b
1 changed files with 8 additions and 2 deletions
|
|
@ -49,7 +49,8 @@ namespace MWGui
|
|||
Button mButton;
|
||||
std::string mName;
|
||||
InputType mInputType;
|
||||
union {
|
||||
union
|
||||
{
|
||||
SDL_GameControllerButton mButton;
|
||||
SDL_GameControllerAxis mAxis;
|
||||
} mId;
|
||||
|
|
@ -63,7 +64,12 @@ namespace MWGui
|
|||
MyGUI::TextBox* mText;
|
||||
Gui::HBox* mHBox;
|
||||
|
||||
ButtonWidgets() : mImage(nullptr), mText(nullptr), mHBox(nullptr) {}
|
||||
ButtonWidgets()
|
||||
: mImage(nullptr)
|
||||
, mText(nullptr)
|
||||
, mHBox(nullptr)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
std::array<ButtonWidgets, Button::Button_Max> mButtons;
|
||||
|
|
|
|||
Loading…
Reference in a new issue