2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-27 19:12:16 +00:00

Warning suppression from Dominique Devriese <dominique.devriese-at-student.kuleuven.ac.be>

[SVN r18288]
This commit is contained in:
Dave Abrahams
2003-04-22 14:21:37 +00:00
parent d497611069
commit 2a1210384a
2 changed files with 4 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ namespace detail
// the type of holder that must be created. The 3rd argument is a
// reference to the Python type object to be created.
template <class T, class SelectHolder>
inline void register_class_to_python(mpl::true_ copyable, SelectHolder selector, T* = 0)
inline void register_class_to_python(mpl::true_, SelectHolder, T* = 0)
{
typedef typename SelectHolder::type holder;
force_instantiate(objects::class_cref_wrapper<T, objects::make_instance<T,holder> >());
@@ -92,7 +92,7 @@ namespace detail
}
template <class T, class SelectHolder>
inline void register_class_to_python(mpl::false_ copyable, SelectHolder selector, T* = 0)
inline void register_class_to_python(mpl::false_, SelectHolder, T* = 0)
{
SelectHolder::register_();
}

View File

@@ -47,7 +47,7 @@ template <>
struct value_destroyer<true,true>
{
template <class T>
static void execute(T const volatile* p)
static void execute(T const volatile*)
{
}
};
@@ -56,7 +56,7 @@ template <>
struct value_destroyer<false,true>
{
template <class T>
static void execute(T const volatile* p)
static void execute(T const volatile*)
{
}
};