diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/libstore/common-protocol.cc | 2 | ||||
-rw-r--r-- | tests/unit/libstore/protocol.hh | 2 |
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()) |