mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-05 06:01:36 +00:00
Fix new (after upgrade) clang-tidy error, adjust .codespell-ignorelines accordingly.
This commit is contained in:
@@ -15,10 +15,7 @@ namespace helpers {
|
||||
struct movable_int {
|
||||
int valu;
|
||||
explicit movable_int(int v) : valu{v} {}
|
||||
movable_int(movable_int &&other) noexcept {
|
||||
valu = other.valu;
|
||||
other.valu = 91;
|
||||
}
|
||||
movable_int(movable_int &&other) noexcept : valu(other.valu) { other.valu = 91; }
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user