mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
Added missing const to prevent spurious static asserts
[SVN r22719]
This commit is contained in:
@@ -184,7 +184,7 @@ namespace api
|
||||
// the callable object is already wrapped.
|
||||
BOOST_STATIC_ASSERT(
|
||||
(is_same<char const*,DocStringT>::value
|
||||
|| detail::is_string_literal<DocStringT>::value));
|
||||
|| detail::is_string_literal<DocStringT const>::value));
|
||||
|
||||
objects::add_to_namespace(cl, name, this->derived_visitor(), helper.doc());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user