From c8953eb982118820aef2cad8b19960ee4501a573 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 26 Aug 2021 16:19:39 -0700 Subject: [PATCH] Adding NOLINT related to https://github.com/pybind/pybind11/pull/3210 --- tests/test_class_sh_trampoline_self_life_support.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_class_sh_trampoline_self_life_support.cpp b/tests/test_class_sh_trampoline_self_life_support.cpp index 3339c7307..444a1ab0a 100644 --- a/tests/test_class_sh_trampoline_self_life_support.cpp +++ b/tests/test_class_sh_trampoline_self_life_support.cpp @@ -67,7 +67,7 @@ TEST_SUBMODULE(class_sh_trampoline_self_life_support, m) { } break; case 2: { // operator= lvalue std::unique_ptr 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