diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-08-23 13:08:58 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-08-23 13:11:21 +0200 |
commit | 82e776a3f77b36849a7d8d8f3f6993d119e79f14 (patch) | |
tree | f9184ab35c0934589546094baaec930d3a4a4abb /vespalib | |
parent | 1b798232cdd85b29ff68e5edfac12eb7bed8aa2e (diff) |
Avoid narrowing.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/tests/dotproduct/dotproductbenchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/dotproduct/dotproductbenchmark.cpp b/vespalib/src/tests/dotproduct/dotproductbenchmark.cpp index 5d7817bc59b..9530e8a44e1 100644 --- a/vespalib/src/tests/dotproduct/dotproductbenchmark.cpp +++ b/vespalib/src/tests/dotproduct/dotproductbenchmark.cpp @@ -107,7 +107,7 @@ SparseBenchmark::SparseBenchmark(size_t numDocs, size_t numValues, size_t numQue } SparseBenchmark::~SparseBenchmark() = default; -std::function<void(int)> use_sum = [](int) noexcept { }; +std::function<void(int64_t)> use_sum = [](int64_t) noexcept { }; class UnorderedSparseBenchmark : public SparseBenchmark { |