aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/libstore
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-07-08 02:18:03 +0200
committereldritch horrors <pennae@lix.systems>2024-07-16 00:57:42 +0000
commit6b4d46e9e0e1dd80e0977684ab20d14bcd1a6bc3 (patch)
treeb79f09fe3c9e62de804ab8aca8a8fec6d08bbb48 /tests/unit/libstore
parenta5d1f698417dff4e470eb94c38ad6c4e5ebf38ff (diff)
libstore: remove WriteConn::sink fields
we no longer need these since we're no longer using sinks to serialize things. Change-Id: Iffb1a3eab33c83f611c88fa4e8beaa8d5ffa079b
Diffstat (limited to 'tests/unit/libstore')
-rw-r--r--tests/unit/libstore/common-protocol.cc2
-rw-r--r--tests/unit/libstore/protocol.hh2
2 files changed, 2 insertions, 2 deletions
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())