We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2e0043 commit 2c05531Copy full SHA for 2c05531
1 file changed
include/pybind11/stl.h
@@ -326,9 +326,9 @@ struct list_caster {
326
327
bool convert_elements(handle seq, bool convert) {
328
auto s = reinterpret_borrow<sequence>(seq);
329
-PYBIND11_WARNING_PUSH
+ PYBIND11_WARNING_PUSH
330
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 13
331
-PYBIND11_WARNING_DISABLE_GCC("-Wmaybe-uninitialized")
+ PYBIND11_WARNING_DISABLE_GCC("-Wmaybe-uninitialized")
332
#endif
333
value.clear();
334
reserve_maybe(s, &value);
@@ -339,7 +339,7 @@ PYBIND11_WARNING_DISABLE_GCC("-Wmaybe-uninitialized")
339
}
340
value.push_back(cast_op<Value &&>(std::move(conv)));
341
342
-PYBIND11_WARNING_POP
+ PYBIND11_WARNING_POP
343
return true;
344
345
0 commit comments