Add final specifier to public classes

Change-Id: Ib7291dc68d5d4141ee821689743481fc84768606
This commit is contained in:
Sameer Agarwal
2022-02-18 15:51:17 -08:00
parent 84e1696f4e
commit 8fe8ebc3a6
11 changed files with 33 additions and 34 deletions
@@ -77,7 +77,7 @@ namespace ceres {
// cost_function.AddParameterBlock(10);
// cost_function.SetNumResiduals(21);
template <typename CostFunctor, NumericDiffMethodType method = CENTRAL>
class DynamicNumericDiffCostFunction : public DynamicCostFunction {
class DynamicNumericDiffCostFunction final : public DynamicCostFunction {
public:
explicit DynamicNumericDiffCostFunction(
const CostFunctor* functor,