mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
Remove unused paramters.
Add -Wextra to gcc flags to enable more warnings. [SVN r41550]
This commit is contained in:
@@ -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