diff --git a/loader/include/Geode/c++stl/gdstdlib.hpp b/loader/include/Geode/c++stl/gdstdlib.hpp index a7928f72..e6b7fc0c 100644 --- a/loader/include/Geode/c++stl/gdstdlib.hpp +++ b/loader/include/Geode/c++stl/gdstdlib.hpp @@ -283,6 +283,8 @@ namespace gd { template <typename T> class GEODE_DLL vector { public: + using value_type = T; + operator std::vector<T>() { std::vector<T> out; @@ -459,6 +461,8 @@ namespace gd { template <typename T> class GEODE_DLL vector { public: + using value_type = T; + operator std::vector<T>() { return m_internal; }