We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1587448 commit e7b2f2fCopy full SHA for e7b2f2f
include/pybind11/cast.h
@@ -1940,7 +1940,12 @@ typing::Tuple<Args...> make_tuple(Args &&...args_) {
1940
for (auto &arg_value : args) {
1941
PyTuple_SET_ITEM(result.ptr(), counter++, arg_value.release().ptr());
1942
}
1943
+ PYBIND11_WARNING_PUSH
1944
+#ifdef PYBIND11_DETECTED_CLANG_WITH_MISLEADING_CALL_STD_MOVE_EXPLICITLY_WARNING
1945
+ PYBIND11_WARNING_DISABLE_CLANG("-Wreturn-std-move")
1946
+#endif
1947
return result;
1948
+ PYBIND11_WARNING_POP
1949
1950
1951
/// \ingroup annotations
0 commit comments