fixing compilation issues

This commit is contained in:
Kbz-8
2024-09-05 00:41:52 +02:00
parent 0a84ea6a18
commit 6eaf871d45
23 changed files with 140 additions and 59 deletions

View File

@@ -17,7 +17,7 @@ namespace mlx
};
public:
Inputs() = default;
Inputs();
void RegisterWindow(std::shared_ptr<Window> window);
@@ -39,7 +39,7 @@ namespace mlx
~Inputs() = default;
protected:
private:
std::unordered_map<std::uint32_t, std::shared_ptr<Window>> m_windows;
std::unordered_map<std::uint32_t, std::array<Hook, 6>> m_events_hooks;
bool m_run = false;