summaryrefslogtreecommitdiff
path: root/src/input_common/touch_from_button.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-15 06:22:01 -0500
committerGravatar Lioncash2020-11-22 04:50:03 -0500
commit5c4774e8ce1d3c5391402f4b2244cfb4dfe7d57a (patch)
tree4f65578a7b6cd6d5f379b177919583bcfb8e71f3 /src/input_common/touch_from_button.cpp
parentMerge pull request #4944 from lioncash/system-rem (diff)
downloadyuzu-5c4774e8ce1d3c5391402f4b2244cfb4dfe7d57a.tar.gz
yuzu-5c4774e8ce1d3c5391402f4b2244cfb4dfe7d57a.tar.xz
yuzu-5c4774e8ce1d3c5391402f4b2244cfb4dfe7d57a.zip
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
Diffstat (limited to 'src/input_common/touch_from_button.cpp')
-rw-r--r--src/input_common/touch_from_button.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/touch_from_button.cpp b/src/input_common/touch_from_button.cpp
index c37716aae..a07124a86 100644
--- a/src/input_common/touch_from_button.cpp
+++ b/src/input_common/touch_from_button.cpp
@@ -44,8 +44,7 @@ private:
44 std::vector<std::tuple<std::unique_ptr<Input::ButtonDevice>, int, int>> map; 44 std::vector<std::tuple<std::unique_ptr<Input::ButtonDevice>, int, int>> map;
45}; 45};
46 46
47std::unique_ptr<Input::TouchDevice> TouchFromButtonFactory::Create( 47std::unique_ptr<Input::TouchDevice> TouchFromButtonFactory::Create(const Common::ParamPackage&) {
48 const Common::ParamPackage& params) {
49 return std::make_unique<TouchFromButtonDevice>(); 48 return std::make_unique<TouchFromButtonDevice>();
50} 49}
51 50