From f249fc99197061c1422eadb09699907115de3c48 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 15 Jul 2003 19:35:14 +0000 Subject: [PATCH] unused variable warning patch [SVN r19130] --- include/boost/python/class.hpp | 4 ++-- include/boost/python/detail/destroy.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/python/class.hpp b/include/boost/python/class.hpp index fd1d7411..75f5989b 100644 --- a/include/boost/python/class.hpp +++ b/include/boost/python/class.hpp @@ -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 - 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 >()); @@ -92,7 +92,7 @@ namespace detail } template - 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_(); } diff --git a/include/boost/python/detail/destroy.hpp b/include/boost/python/detail/destroy.hpp index 7b107550..edbabea3 100644 --- a/include/boost/python/detail/destroy.hpp +++ b/include/boost/python/detail/destroy.hpp @@ -47,7 +47,7 @@ template <> struct value_destroyer { template - static void execute(T const volatile* p) + static void execute(T const volatile*) { } }; @@ -56,7 +56,7 @@ template <> struct value_destroyer { template - static void execute(T const volatile* p) + static void execute(T const volatile*) { } };