From c0b46b2f4e47fc017beeae34ff555418d198e1d4 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 27 May 2024 16:16:26 +0200 Subject: Use shared_ptr for data in ContentBlob ...to reduce the "price" of copying. --- test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp') diff --git a/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp b/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp index d9fec4dc..8daceb31 100644 --- a/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp @@ -58,7 +58,7 @@ TEST_CASE("Bazel internals: CAS Client", "[execution_api]") { instance_name, to_read.begin(), to_read.end()); REQUIRE(blobs.size() == 1); CHECK(std::equal_to{}(blobs[0].digest, digest)); - CHECK(blobs[0].data == content); + CHECK(*blobs[0].data == content); } SECTION("Invalid digest and blob") { -- cgit v1.2.3