1
0
Fork 0
forked from suyu/suyu

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 { class InputEngine {
public: public:
explicit InputEngine(const std::string& input_engine_) : input_engine(input_engine_) { explicit InputEngine(const std::string& input_engine_) : input_engine(input_engine_) {}
callback_list.clear();
}
virtual ~InputEngine() = default; virtual ~InputEngine() = default;