From 6b4d46e9e0e1dd80e0977684ab20d14bcd1a6bc3 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 8 Jul 2024 02:18:03 +0200 Subject: libstore: remove WriteConn::sink fields we no longer need these since we're no longer using sinks to serialize things. Change-Id: Iffb1a3eab33c83f611c88fa4e8beaa8d5ffa079b --- tests/unit/libstore/common-protocol.cc | 2 +- tests/unit/libstore/protocol.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/unit/libstore/common-protocol.cc b/tests/unit/libstore/common-protocol.cc index 1d25f81c7..86ba537db 100644 --- a/tests/unit/libstore/common-protocol.cc +++ b/tests/unit/libstore/common-protocol.cc @@ -52,7 +52,7 @@ public: StringSink to; to << CommonProto::write( *store, - CommonProto::WriteConn { .to = to }, + CommonProto::WriteConn {}, value); if (testAccept()) diff --git a/tests/unit/libstore/protocol.hh b/tests/unit/libstore/protocol.hh index 269c9f7aa..059b4d91c 100644 --- a/tests/unit/libstore/protocol.hh +++ b/tests/unit/libstore/protocol.hh @@ -58,7 +58,7 @@ public: StringSink to; to << Proto::write( *LibStoreTest::store, - typename Proto::WriteConn {to, version}, + typename Proto::WriteConn {version}, value); if (testAccept()) -- cgit v1.2.3