From 2ee25fda61a53400c0db513db166f66264d3bc1f Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 1 May 2004 17:37:15 +0000 Subject: [PATCH] Added missing const to prevent spurious static asserts [SVN r22719] --- include/boost/python/object_core.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/python/object_core.hpp b/include/boost/python/object_core.hpp index 6b0bb61d..733e09af 100755 --- a/include/boost/python/object_core.hpp +++ b/include/boost/python/object_core.hpp @@ -184,7 +184,7 @@ namespace api // the callable object is already wrapped. BOOST_STATIC_ASSERT( (is_same::value - || detail::is_string_literal::value)); + || detail::is_string_literal::value)); objects::add_to_namespace(cl, name, this->derived_visitor(), helper.doc()); }