mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 19:12:16 +00:00
Patches for Codegear C++ Builder 2009
[SVN r48981]
This commit is contained in:
4
test/borrowed.cpp
Executable file → Normal file
4
test/borrowed.cpp
Executable file → Normal file
@@ -9,13 +9,13 @@
|
||||
using namespace boost::python;
|
||||
|
||||
template <class T>
|
||||
void assert_borrowed_ptr(T const& x)
|
||||
void assert_borrowed_ptr(T const&)
|
||||
{
|
||||
BOOST_STATIC_ASSERT(boost::python::detail::is_borrowed_ptr<T>::value);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void assert_not_borrowed_ptr(T const& x)
|
||||
void assert_not_borrowed_ptr(T const&)
|
||||
{
|
||||
BOOST_STATIC_ASSERT(!boost::python::detail::is_borrowed_ptr<T>::value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user