summaryrefslogtreecommitdiffstats
path: root/tests/include/shard_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include/shard_string.h')
-rw-r--r--tests/include/shard_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/include/shard_string.h b/tests/include/shard_string.h
index 2ef4cec..7a3d761 100644
--- a/tests/include/shard_string.h
+++ b/tests/include/shard_string.h
@@ -67,7 +67,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);