commit | b652d3b4f1ab83b6200d62b0c1fe45ec00793857 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Mon Oct 09 15:10:37 2023 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Mon Oct 09 15:10:37 2023 -0700 |
tree | 7b15e9c06835d670beb24d529da92b5dda89dba1 | |
parent | b79c4d3505c7553fc7b20fd6bcf09a2f8343fc52 [diff] |
Unbreak the windows build Change-Id: Ia838b94c7ce1bad178200ce705f02b460b0f266d
diff --git a/internal/ceres/parallel_for_test.cc b/internal/ceres/parallel_for_test.cc index 857a1b0..46f5a0f 100644 --- a/internal/ceres/parallel_for_test.cc +++ b/internal/ceres/parallel_for_test.cc
@@ -109,7 +109,7 @@ 0, size, kNumThreads, - [&failed](std::tuple<int, int> range) { + [&failed, kMinBlockSize](std::tuple<int, int> range) { auto [start, end] = range; if (end - start < kMinBlockSize) failed = true; },