clang-tidy fixes related to PR #3250

This commit is contained in:
Ralf W. Grosse-Kunstleve
2021-09-08 19:42:56 -07:00
parent 94a5c673bc
commit b4e1ac9a94
8 changed files with 19 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ template <int SerNo> // Using int as a trick to easily generate a series of type
struct Abase {
int val = 0;
virtual ~Abase() = default;
Abase(int val_) : val{val_} {}
explicit Abase(int val_) : val{val_} {}
int Get() const { return val * 10 + 3; }
virtual int Add(int other_val) const = 0;