We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b8b3cc commit ef40e24Copy full SHA for ef40e24
test/fec_utest.cpp
@@ -145,7 +145,7 @@ class FecTestCommon : public ::testing::Test {
145
props[i] = quadiron::Properties();
146
}
147
148
- const std::vector<T*> mem = data_frags.get_mem();
+ const std::vector<T*>& mem = data_frags.get_mem();
149
for (unsigned i = 0; i < n_data; i++) {
150
char* buf = reinterpret_cast<char*>(mem[i]);
151
for (size_t j = 0; j < fec.buf_size; ++j) {
0 commit comments