forked from ShuriZma/suyu
1
0
Fork 0

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
1 changed files with 1 additions and 3 deletions

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;