diff options
Diffstat (limited to 'include/gui/ScrollablePage.hpp')
-rw-r--r-- | include/gui/ScrollablePage.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/ScrollablePage.hpp b/include/gui/ScrollablePage.hpp index 5048627..09c618f 100644 --- a/include/gui/ScrollablePage.hpp +++ b/include/gui/ScrollablePage.hpp @@ -1,8 +1,8 @@ #pragma once #include "Widget.hpp" +#include "../SafeVector.hpp" #include <memory> -#include <vector> namespace gsr { class ScrollablePage : public Widget { @@ -20,6 +20,6 @@ namespace gsr { void add_widget(std::unique_ptr<Widget> widget); private: mgl::vec2f size; - std::vector<std::unique_ptr<Widget>> widgets; + SafeVector<std::unique_ptr<Widget>> widgets; }; }
\ No newline at end of file |