ClangTidy fixes

Change-Id: I26a8bbce337dbd0b5fc18bc1345d9ccbee275080
This commit is contained in:
Sameer Agarwal
2023-10-09 09:29:49 -07:00
parent 76af132d02
commit b79c4d3505
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -27,7 +27,10 @@
// POSSIBILITY OF SUCH DAMAGE.
#include "benchmark/benchmark.h"
#include "ceres/context_impl.h"
#include "ceres/internal/eigen.h"
#include "ceres/parallel_for.h"
#include "glog/logging.h"
namespace ceres::internal {
+2 -1
View File
@@ -30,6 +30,7 @@
#include "ceres/parallel_for.h"
#include <atomic>
#include <cmath>
#include <condition_variable>
#include <mutex>
@@ -108,7 +109,7 @@ TEST(ParallelForWithRange, MinimalSize) {
0,
size,
kNumThreads,
[&failed, kMinBlockSize](std::tuple<int, int> range) {
[&failed](std::tuple<int, int> range) {
auto [start, end] = range;
if (end - start < kMinBlockSize) failed = true;
},
+2
View File
@@ -29,7 +29,9 @@
#include "ceres/parallel_vector_ops.h"
#include <algorithm>
#include <tuple>
#include "ceres/context_impl.h"
#include "ceres/parallel_for.h"
namespace ceres::internal {