Skip to content

Commit 567e620

Browse files
author
Jonathan Brandmeyer
committed
Match signatures with their mpl::true variants
[SVN r26829]
1 parent 5933fdb commit 567e620

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/python/class.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,14 +436,14 @@ class class_ : public objects::class_base
436436

437437
template <class D>
438438
self& def_readonly_impl(
439-
char const* name, D& d BOOST_PYTHON_NO_DATA_MEMBER)
439+
char const* name, D& d BOOST_PYTHON_NO_DATA_MEMBER, char const*)
440440
{
441441
return this->add_static_property(name, python::make_getter(d));
442442
}
443443

444444
template <class D>
445445
self& def_readwrite_impl(
446-
char const* name, D& d BOOST_PYTHON_NO_DATA_MEMBER)
446+
char const* name, D& d BOOST_PYTHON_NO_DATA_MEMBER, char const*)
447447
{
448448
return this->add_static_property(name, python::make_getter(d), python::make_setter(d));
449449
}

0 commit comments

Comments
 (0)