Skip to content

Commit 3428195

Browse files
committed
Adding missing NOLINTNEXTLINE
1 parent 16e178b commit 3428195

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_builtin_casters.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ TEST_SUBMODULE(builtin_casters, m) {
160160
# endif
161161

162162
struct TypeWithBothOperatorStringAndStringView {
163+
// NOLINTNEXTLINE(google-explicit-constructor)
163164
operator std::string() const { return "success"; }
165+
// NOLINTNEXTLINE(google-explicit-constructor)
164166
operator std::string_view() const { return "failure"; }
165167
};
166168
m.def("bytes_from_type_with_both_operator_string_and_string_view",

0 commit comments

Comments
 (0)