summaryrefslogtreecommitdiff
path: root/boost/python/def.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/def.hpp')
-rw-r--r--boost/python/def.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/python/def.hpp b/boost/python/def.hpp
index 76829b0855..fe2c65f938 100644
--- a/boost/python/def.hpp
+++ b/boost/python/def.hpp
@@ -37,7 +37,7 @@ namespace detail
// Must not try to use default implementations except with method definitions.
typedef typename error::multiple_functions_passed_to_def<
Helper::has_default_implementation
- >::type assertion;
+ >::type assertion BOOST_ATTRIBUTE_UNUSED;
detail::scope_setattr_doc(
name, boost::python::make_function(