We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db4b0f commit 6c4b0faCopy full SHA for 6c4b0fa
1 file changed
test/borrowed.cpp
@@ -28,6 +28,6 @@ int main()
28
assert_borrowed_ptr((detail::borrowed<PyObject> volatile*)BOOST_NULLPTR);
29
assert_borrowed_ptr((detail::borrowed<PyObject> const volatile*)BOOST_NULLPTR);
30
assert_not_borrowed_ptr((PyObject*)BOOST_NULLPTR);
31
- assert_not_borrowed_ptr(0);
+ assert_not_borrowed_ptr(BOOST_NULLPTR);
32
return 0;
33
}
0 commit comments