aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/compactbinaryjson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/compactbinaryjson.cpp')
-rw-r--r--src/zencore/compactbinaryjson.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zencore/compactbinaryjson.cpp b/src/zencore/compactbinaryjson.cpp
index d8c8a8584..ac642d30e 100644
--- a/src/zencore/compactbinaryjson.cpp
+++ b/src/zencore/compactbinaryjson.cpp
@@ -10,8 +10,8 @@
#include <zencore/string.h>
#include <zencore/testing.h>
+#include <EASTL/vector.h>
#include <fmt/format.h>
-#include <vector>
ZEN_THIRD_PARTY_INCLUDES_START
#include <json11.hpp>
@@ -319,8 +319,8 @@ CompactBinaryToJson(const CbArrayView& Array, StringBuilderBase& Builder)
void
CompactBinaryToJson(MemoryView Data, StringBuilderBase& InBuilder)
{
- std::vector<CbFieldView> Fields = ReadCompactBinaryStream(Data);
- CbJsonWriter Writer(InBuilder);
+ eastl::vector<CbFieldView> Fields = ReadCompactBinaryStream(Data);
+ CbJsonWriter Writer(InBuilder);
if (!Fields.empty())
{
if (Fields.size() == 1)
@@ -616,7 +616,7 @@ TEST_CASE("uson.json")
SUBCASE("stream")
{
- const auto MakeObject = [&](std::string_view Name, const std::vector<int>& Fields) -> CbObject {
+ const auto MakeObject = [&](std::string_view Name, const eastl::vector<int>& Fields) -> CbObject {
CbWriter Writer;
Writer.SetName(Name);
Writer.BeginObject();
@@ -628,7 +628,7 @@ TEST_CASE("uson.json")
return Writer.Save().AsObject();
};
- std::vector<uint8_t> Buffer;
+ eastl::vector<uint8_t> Buffer;
auto AppendToBuffer = [&](const void* Data, size_t Count) {
const uint8_t* AppendBytes = reinterpret_cast<const uint8_t*>(Data);