Skip to content

Commit 2a12103

Browse files
committed
Warning suppression from Dominique Devriese <dominique.devriese-at-student.kuleuven.ac.be>
[SVN r18288]
1 parent d497611 commit 2a12103

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/boost/python/class.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ namespace detail
8484
// the type of holder that must be created. The 3rd argument is a
8585
// reference to the Python type object to be created.
8686
template <class T, class SelectHolder>
87-
inline void register_class_to_python(mpl::true_ copyable, SelectHolder selector, T* = 0)
87+
inline void register_class_to_python(mpl::true_, SelectHolder, T* = 0)
8888
{
8989
typedef typename SelectHolder::type holder;
9090
force_instantiate(objects::class_cref_wrapper<T, objects::make_instance<T,holder> >());
9191
SelectHolder::register_();
9292
}
9393

9494
template <class T, class SelectHolder>
95-
inline void register_class_to_python(mpl::false_ copyable, SelectHolder selector, T* = 0)
95+
inline void register_class_to_python(mpl::false_, SelectHolder, T* = 0)
9696
{
9797
SelectHolder::register_();
9898
}

include/boost/python/detail/destroy.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ template <>
4747
struct value_destroyer<true,true>
4848
{
4949
template <class T>
50-
static void execute(T const volatile* p)
50+
static void execute(T const volatile*)
5151
{
5252
}
5353
};
@@ -56,7 +56,7 @@ template <>
5656
struct value_destroyer<false,true>
5757
{
5858
template <class T>
59-
static void execute(T const volatile* p)
59+
static void execute(T const volatile*)
6060
{
6161
}
6262
};

0 commit comments

Comments
 (0)