input_engine: Remove callback clearing in constructor

The callback map is a member variable, so this will always be empty on
initial construction.
This commit is contained in:
Lioncash 2021-12-13 08:54:21 -05:00
parent 479369db43
commit 9a104e2b60

View File

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