Skip to content

Commit 2ee25fd

Browse files
committed
Added missing const to prevent spurious static asserts
[SVN r22719]
1 parent e766286 commit 2ee25fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/python/object_core.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ namespace api
184184
// the callable object is already wrapped.
185185
BOOST_STATIC_ASSERT(
186186
(is_same<char const*,DocStringT>::value
187-
|| detail::is_string_literal<DocStringT>::value));
187+
|| detail::is_string_literal<DocStringT const>::value));
188188

189189
objects::add_to_namespace(cl, name, this->derived_visitor(), helper.doc());
190190
}

0 commit comments

Comments
 (0)