office-gobmx/external/frozen/cid1618765_big_param.0
Caolán McNamara 4064be6b29 cid#1618765 Big parameter passed by value
Change-Id: I16b53c5be24a9698c50c025f7f7cec8cca31ed1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172717
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-01 15:55:20 +02:00

13 lines
484 B
Text

--- include/frozen/bits/pmh.h 2024-09-01 12:04:54.942684661 +0100
+++ include/frozen/bits/pmh.h 2024-09-01 12:05:11.899749238 +0100
@@ -155,8 +155,8 @@
constexpr pmh_tables(
std::uint64_t first_seed,
- carray<seed_or_index, M> first_table,
- carray<std::size_t, M> second_table,
+ const carray<seed_or_index, M>& first_table,
+ const carray<std::size_t, M>& second_table,
Hasher hash) noexcept
: Hasher(hash)
, first_seed_(first_seed)