From 1f5249de6f7e81aa6ff2586e386f526676e67c81 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 17 Jan 2024 15:31:23 +1100 Subject: shift some long-lived allocs into spi ram --- src/lua/include/property.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua/include/property.hpp') diff --git a/src/lua/include/property.hpp b/src/lua/include/property.hpp index 9c5129ae..425cc15c 100644 --- a/src/lua/include/property.hpp +++ b/src/lua/include/property.hpp @@ -48,7 +48,7 @@ class Property { private: LuaValue value_; std::optional> cb_; - std::vector> bindings_; + std::pmr::vector> bindings_; }; class PropertyBindings { @@ -61,7 +61,7 @@ class PropertyBindings { auto GetFunction(size_t i) -> const LuaFunction&; private: - std::vector functions_; + std::pmr::vector functions_; }; } // namespace lua -- cgit v1.2.3