mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 22:52:01 +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;
|
} break;
|
||||||
case 2: { // operator= lvalue
|
case 2: { // operator= lvalue
|
||||||
std::unique_ptr<Big5> lv(new Big5Trampoline);
|
std::unique_ptr<Big5> lv(new Big5Trampoline);
|
||||||
*lv = *obj_trampoline;
|
*lv = *obj_trampoline; // NOLINT clang-tidy cppcoreguidelines-slicing
|
||||||
o2 = py::cast(std::move(lv));
|
o2 = py::cast(std::move(lv));
|
||||||
} break;
|
} break;
|
||||||
case 3: { // operator= rvalue
|
case 3: { // operator= rvalue
|
||||||
|
Loading…
Reference in New Issue
Block a user