2
0
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:
Jürgen Hunold
2007-12-01 20:26:37 +00:00
parent 40e4940877
commit 5cbb539ec5
6 changed files with 13 additions and 10 deletions

View 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);
}