aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Page.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/Page.hpp')
-rw-r--r--include/gui/Page.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/Page.hpp b/include/gui/Page.hpp
index a8fa515..0d8536a 100644
--- a/include/gui/Page.hpp
+++ b/include/gui/Page.hpp
@@ -1,7 +1,7 @@
#pragma once
#include "Widget.hpp"
-#include <vector>
+#include "../SafeVector.hpp"
#include <memory>
namespace gsr {
@@ -19,6 +19,6 @@ namespace gsr {
virtual void add_widget(std::unique_ptr<Widget> widget);
protected:
- std::vector<std::unique_ptr<Widget>> widgets;
+ SafeVector<std::unique_ptr<Widget>> widgets;
};
} \ No newline at end of file