mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fix some 'new' issues reported by Sonar Cloud
This commit is contained in:
@@ -33,14 +33,14 @@
|
||||
#include <SDL_timer.h>
|
||||
|
||||
InputHandler::InputHandler()
|
||||
: mouseHandler(std::make_unique<InputSourceMouse>())
|
||||
: enableMouse(settings["input"]["enableMouse"].Bool())
|
||||
, enableTouch(settings["input"]["enableTouch"].Bool())
|
||||
, enableController(settings["input"]["enableController"].Bool())
|
||||
, mouseHandler(std::make_unique<InputSourceMouse>())
|
||||
, keyboardHandler(std::make_unique<InputSourceKeyboard>())
|
||||
, fingerHandler(std::make_unique<InputSourceTouch>())
|
||||
, textHandler(std::make_unique<InputSourceText>())
|
||||
, gameControllerHandler(std::make_unique<InputSourceGameController>())
|
||||
, enableMouse(settings["input"]["enableMouse"].Bool())
|
||||
, enableTouch(settings["input"]["enableTouch"].Bool())
|
||||
, enableController(settings["input"]["enableController"].Bool())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user