aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/compactbinaryyaml.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-03-06 17:27:59 +0100
committerStefan Boberg <[email protected]>2025-03-06 17:27:59 +0100
commit66e5d1f4e288e0c32f854ebe3b63584b42b83554 (patch)
treed67e9d358419b5baccd429d54988414e0d7cd7a6 /src/zencore/compactbinaryyaml.cpp
parentreduced memory churn using fixed_xxx containers (#236) (diff)
downloadzen-66e5d1f4e288e0c32f854ebe3b63584b42b83554.tar.xz
zen-66e5d1f4e288e0c32f854ebe3b63584b42b83554.zip
switched std::vector -> eastl::vector
Diffstat (limited to 'src/zencore/compactbinaryyaml.cpp')
-rw-r--r--src/zencore/compactbinaryyaml.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zencore/compactbinaryyaml.cpp b/src/zencore/compactbinaryyaml.cpp
index 3a9705684..7f71656ab 100644
--- a/src/zencore/compactbinaryyaml.cpp
+++ b/src/zencore/compactbinaryyaml.cpp
@@ -10,9 +10,9 @@
#include <zencore/string.h>
#include <zencore/testing.h>
+#include <EASTL/vector.h>
#include <fmt/format.h>
#include <string_view>
-#include <vector>
ZEN_THIRD_PARTY_INCLUDES_START
#include <ryml/ryml.hpp>
@@ -210,9 +210,9 @@ private:
StringBuilderBase& m_StrBuilder;
bool m_IsFirst = true;
- ryml::Tree m_Tree;
- std::vector<ryml::NodeRef> m_NodeStack;
- ryml::NodeRef& Top() { return m_NodeStack.back(); }
+ ryml::Tree m_Tree;
+ eastl::vector<ryml::NodeRef> m_NodeStack;
+ ryml::NodeRef& Top() { return m_NodeStack.back(); }
};
void