Skip to content

Commit 2352178

Browse files
committed
Avoid redundant std::move
1 parent 74345ec commit 2352178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/minisketch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class Minisketch
303303
ssize_t ret = minisketch_decode(m_minisketch.get(), max_elements, result.data());
304304
if (ret == -1) return {};
305305
result.resize(ret);
306-
return std::move(result);
306+
return result;
307307
}
308308

309309
/** C++17 only: similar to Decode(), but with specified false positive probability. */

0 commit comments

Comments
 (0)