ClangTidy fixes
Change-Id: I421b29e218c045c5d8bef42c840fa366d7c011fc
diff --git a/examples/rosenbrock.cc b/examples/rosenbrock.cc
index d739325..e547d73 100644
--- a/examples/rosenbrock.cc
+++ b/examples/rosenbrock.cc
@@ -32,6 +32,8 @@
// (https://en.wikipedia.org/wiki/Rosenbrock_function) using
// GradientProblemSolver using automatically computed derivatives.
+#include <memory>
+
#include "absl/log/initialize.h"
#include "ceres/ceres.h"
diff --git a/examples/rosenbrock_analytic_diff.cc b/examples/rosenbrock_analytic_diff.cc
index 50e1de5..c3cbe09 100644
--- a/examples/rosenbrock_analytic_diff.cc
+++ b/examples/rosenbrock_analytic_diff.cc
@@ -33,6 +33,7 @@
// GradientProblemSolver using analytic derivatives.
#include <iostream>
+#include <memory>
#include "absl/log/initialize.h"
#include "ceres/ceres.h"
diff --git a/examples/rosenbrock_numeric_diff.cc b/examples/rosenbrock_numeric_diff.cc
index 23be7f4..c4980b3 100644
--- a/examples/rosenbrock_numeric_diff.cc
+++ b/examples/rosenbrock_numeric_diff.cc
@@ -34,6 +34,7 @@
// differentiation.
#include <iostream>
+#include <memory>
#include "absl/log/initialize.h"
#include "ceres/ceres.h"
diff --git a/internal/ceres/gradient_problem.cc b/internal/ceres/gradient_problem.cc
index 71434ba..6230f20 100644
--- a/internal/ceres/gradient_problem.cc
+++ b/internal/ceres/gradient_problem.cc
@@ -31,8 +31,10 @@
#include "ceres/gradient_problem.h"
#include <memory>
+#include <utility>
#include "absl/log/check.h"
+#include "ceres/manifold.h"
namespace ceres {
diff --git a/internal/ceres/gradient_problem_solver_test.cc b/internal/ceres/gradient_problem_solver_test.cc
index 52884dc..661a113 100644
--- a/internal/ceres/gradient_problem_solver_test.cc
+++ b/internal/ceres/gradient_problem_solver_test.cc
@@ -30,6 +30,8 @@
#include "ceres/gradient_problem_solver.h"
+#include <memory>
+
#include "ceres/gradient_problem.h"
#include "gtest/gtest.h"
diff --git a/internal/ceres/gradient_problem_test.cc b/internal/ceres/gradient_problem_test.cc
index bebc3a7..dd2e293 100644
--- a/internal/ceres/gradient_problem_test.cc
+++ b/internal/ceres/gradient_problem_test.cc
@@ -30,6 +30,9 @@
#include "ceres/gradient_problem.h"
+#include <memory>
+
+#include "ceres/manifold.h"
#include "gtest/gtest.h"
namespace ceres::internal {
diff --git a/internal/ceres/line_search_minimizer_test.cc b/internal/ceres/line_search_minimizer_test.cc
index 5225f7b..7eba36f 100644
--- a/internal/ceres/line_search_minimizer_test.cc
+++ b/internal/ceres/line_search_minimizer_test.cc
@@ -29,8 +29,10 @@
// Author: sameeragarwal@google.com (Sameer Agarwal)
#include <limits>
+#include <memory>
#include "ceres/ceres.h"
+#include "ceres/types.h"
#include "gtest/gtest.h"
namespace ceres::internal {