From 4423fdb36d6efb8733d834cb9b4f731323361de0 Mon Sep 17 00:00:00 2001 From: Lee Maguire <lee.maguire@mongodb.com> Date: Wed, 18 Oct 2023 17:56:53 +0100 Subject: [PATCH] Change to use std::vector<char> --- src/realm/object-store/util/bson/bson.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm/object-store/util/bson/bson.cpp b/src/realm/object-store/util/bson/bson.cpp index 740f1b92d2f..ce3d352f62d 100644 --- a/src/realm/object-store/util/bson/bson.cpp +++ b/src/realm/object-store/util/bson/bson.cpp @@ -601,7 +601,7 @@ Bson dom_elem_to_bson(const Json& json) case Json::value_t::boolean: return Bson(json.get<bool>()); case Json::value_t::binary: { - std::vector<Bson> out; + std::vector<char> out; for (auto&& elem : json.get_binary()) { out.push_back(elem); }