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.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/zencore/compactbinaryjson.cpp b/src/zencore/compactbinaryjson.cpp
index 02f22ba4d..abbec360a 100644
--- a/src/zencore/compactbinaryjson.cpp
+++ b/src/zencore/compactbinaryjson.cpp
@@ -752,13 +752,6 @@ TEST_CASE("uson.json")
Buffer.insert(Buffer.end(), AppendBytes, AppendBytes + Count);
};
- auto Append = [&](const CbFieldView& Field) {
- Field.WriteToStream([&](const void* Data, size_t Count) {
- const uint8_t* AppendBytes = reinterpret_cast<const uint8_t*>(Data);
- Buffer.insert(Buffer.end(), AppendBytes, AppendBytes + Count);
- });
- };
-
CbObject DataObjects[] = {MakeObject("Empty object"sv, {}),
MakeObject("OneField object"sv, {5}),
MakeObject("TwoField object"sv, {-5, 999}),