mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-04 13:41:36 +00:00
clang-tidy fixes related to PR #3250
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user