2
0
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:
Dave Abrahams
2004-05-01 17:37:15 +00:00
parent e766286d92
commit 2ee25fda61

View File

@@ -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());
}