input_engine: Remove callback clearing in constructor

The callback map is a member variable, so this will always be empty on
initial construction.
merge-requests/60/head
Lioncash 2021-12-13 08:54:21 +07:00
parent 479369db43
commit 9a104e2b60
1 changed files with 1 additions and 3 deletions

@ -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;