Use = default for trivial special members

Applied changes correspond to clang-tidy fixes
stemming from the modernize-use-equals-default check.

Change-Id: I254b0908a76d464131564b637cd0e42a6b03fb5a
This commit is contained in:
Sergiu Deitsch
2022-02-09 00:56:10 +01:00
parent db67e621e4
commit a35bd1bf90
90 changed files with 127 additions and 127 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ namespace ceres {
class CERES_EXPORT LossFunction {
public:
virtual ~LossFunction() {}
virtual ~LossFunction() = default;
// For a residual vector with squared 2-norm 'sq_norm', this method
// is required to fill in the value and derivatives of the loss