aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/touch_screen.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-12-13 09:05:23 -0500
committerLioncash <mathew1800@gmail.com>2021-12-13 09:05:50 -0500
commit2b92d22bda767c7c723935c357bea474f8e2d2f8 (patch)
treee732bb3b2062562c031ea54937514ca34ab6e6b1 /src/input_common/drivers/touch_screen.h
parent9a104e2b60a764efece235b45c805059a39df357 (diff)
input_engine: std::move engine name where applicable
We can allow the name to be moved into, allowing allocations to be avoided.
Diffstat (limited to 'src/input_common/drivers/touch_screen.h')
-rw-r--r--src/input_common/drivers/touch_screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/touch_screen.h b/src/input_common/drivers/touch_screen.h
index 25c11e8bfd..bf395c40b6 100644
--- a/src/input_common/drivers/touch_screen.h
+++ b/src/input_common/drivers/touch_screen.h
@@ -12,9 +12,9 @@ namespace InputCommon {
* A button device factory representing a keyboard. It receives keyboard events and forward them
* to all button devices it created.
*/
-class TouchScreen final : public InputCommon::InputEngine {
+class TouchScreen final : public InputEngine {
public:
- explicit TouchScreen(const std::string& input_engine_);
+ explicit TouchScreen(std::string input_engine_);
/**
* Signals that mouse has moved.