From 7d1a0473ff1ce2db1335664081cd8fef8889483a Mon Sep 17 00:00:00 2001 From: Pcornat Date: Thu, 9 Jun 2022 22:16:23 +0200 Subject: [PATCH] Possible to create a vector or another container of Window. --- include/gui/window.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/gui/window.hpp b/include/gui/window.hpp index 20542b5..75dc8a7 100644 --- a/include/gui/window.hpp +++ b/include/gui/window.hpp @@ -19,6 +19,8 @@ namespace gui { public: Window(); + Window(Window &&window) noexcept: wwindow(std::move(window.wwindow)) {} + ~Window() noexcept = default; [[nodiscard]] const std::unique_ptr &get_window() const { return wwindow; }