diff options
| author | Lioncash <mathew1800@gmail.com> | 2021-12-13 08:54:21 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2021-12-13 08:54:23 -0500 |
| commit | d62545828a800f14e448a719dcbb1879f190b192 (patch) | |
| tree | 370321a199aaef9e00b8f3a2263c33100c4e278c /src/input_common/input_engine.h | |
| parent | 7e34562d34049a82fa9724b1a09c41017e6e8de6 (diff) | |
input_engine: Remove callback clearing in constructor
The callback map is a member variable, so this will always be empty on
initial construction.
Diffstat (limited to 'src/input_common/input_engine.h')
| -rw-r--r-- | src/input_common/input_engine.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h index c85c72af86..44accd0bea 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h @@ -102,9 +102,7 @@ struct InputIdentifier { class InputEngine { public: - explicit InputEngine(const std::string& input_engine_) : input_engine(input_engine_) { - callback_list.clear(); - } + explicit InputEngine(const std::string& input_engine_) : input_engine(input_engine_) {} virtual ~InputEngine() = default; |
