mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
Adding NOLINT related to https://github.com/pybind/pybind11/pull/3210
This commit is contained in:
parent
4ed3417faa
commit
c8953eb982
@ -67,7 +67,7 @@ TEST_SUBMODULE(class_sh_trampoline_self_life_support, m) {
|
||||
} break;
|
||||
case 2: { // operator= lvalue
|
||||
std::unique_ptr<Big5> lv(new Big5Trampoline);
|
||||
*lv = *obj_trampoline;
|
||||
*lv = *obj_trampoline; // NOLINT clang-tidy cppcoreguidelines-slicing
|
||||
o2 = py::cast(std::move(lv));
|
||||
} break;
|
||||
case 3: { // operator= rvalue
|
||||
|
Loading…
Reference in New Issue
Block a user