mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 17:32:37 +00:00
Automatic clang-tidy fixes.
This commit is contained in:
parent
f06f0927b3
commit
a428f5755d
@ -16,12 +16,12 @@ struct Foo {
|
||||
std::string history;
|
||||
Foo(const std::string &history_) : history(history_) {}
|
||||
Foo(const Foo &other) : history(other.history + "_CpCtor") {}
|
||||
Foo(Foo &&other) : history(other.history + "_MvCtor") {}
|
||||
Foo(Foo &&other) noexcept : history(other.history + "_MvCtor") {}
|
||||
Foo &operator=(const Foo &other) {
|
||||
history = other.history + "_OpEqLv";
|
||||
return *this;
|
||||
}
|
||||
Foo &operator=(Foo &&other) {
|
||||
Foo &operator=(Foo &&other) noexcept {
|
||||
history = other.history + "_OpEqRv";
|
||||
return *this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user