diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-27 20:22:52 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:57 +0200 |
commit | ea8cc60dc4af9b88d13f4a143986a3fad7e1691a (patch) | |
tree | ccb622de7c03aef041916b1bd451d10939fbf861 /src/interfaces/window.hpp | |
parent | 3b326d77dceb3cc70abd54943689d76ecd96fc8b (diff) |
refactor: clean up DI code
Diffstat (limited to 'src/interfaces/window.hpp')
-rw-r--r-- | src/interfaces/window.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/window.hpp b/src/interfaces/window.hpp index 5da9aff..d880762 100644 --- a/src/interfaces/window.hpp +++ b/src/interfaces/window.hpp @@ -2,8 +2,11 @@ #include "engine/data/bounds.hpp" +// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) class IWindow { public: + virtual ~IWindow() noexcept = default; + [[nodiscard]] virtual Bounds size() const noexcept = 0; }; |