summaryrefslogtreecommitdiffstats
path: root/tests/include/shard_standard.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include/shard_standard.h')
-rw-r--r--tests/include/shard_standard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/include/shard_standard.h b/tests/include/shard_standard.h
index de43edc..0b5ab00 100644
--- a/tests/include/shard_standard.h
+++ b/tests/include/shard_standard.h
@@ -77,7 +77,7 @@ START_TEST(t_shard_init)
auto shard2 = new Shard(mbuffer2->get_buffer_view());
auto shard3 = new Shard(mbuffer3->get_buffer_view());
- std::vector<Shard*> shards = {shard1, shard2, shard3};
+ std::vector<const Shard*> shards = {shard1, shard2, shard3};
auto shard4 = new Shard(shards);
ck_assert_int_eq(shard4->get_record_count(), n * 3);
@@ -130,7 +130,7 @@ START_TEST(t_full_cancelation)
ck_assert_int_eq(shard_ts->get_record_count(), n);
ck_assert_int_eq(shard_ts->get_tombstone_count(), n);
- std::vector<Shard *> shards = {shard, shard_ts};
+ std::vector<const Shard *> shards = {shard, shard_ts};
Shard* merged = new Shard(shards);