mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Modernize code using c++17 constructs
Mostly done using
find . \( -name '*.cc' -o -name '*.h' \) -a -type f -exec clang-tidy -p \
cmake-build -checks='-*,google-*,modernize-*,-modernize-use-nodiscard,-modernize-use-trailing-return-type' {} -fix \;
Change-Id: Ifccbcabe7a1d9a32a09d28ac4f3f8466696c1a50
This commit is contained in:
@@ -40,8 +40,7 @@
|
||||
#include "ceres/sparse_matrix.h"
|
||||
#include "ceres/types.h"
|
||||
|
||||
namespace ceres {
|
||||
namespace internal {
|
||||
namespace ceres::internal {
|
||||
|
||||
// An implementation of the SparseMatrix interface to store and
|
||||
// manipulate sparse matrices in triplet (i,j,s) form. This object is
|
||||
@@ -154,8 +153,7 @@ class CERES_NO_EXPORT TripletSparseMatrix final : public SparseMatrix {
|
||||
std::unique_ptr<double[]> values_;
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
} // namespace ceres
|
||||
} // namespace ceres::internal
|
||||
|
||||
#include "ceres/internal/reenable_warnings.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user