Skip to content

Commit 8a049b8

Browse files
committed
Added missing &
[SVN r15023]
1 parent 37efd93 commit 8a049b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/defaults.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ BOOST_PYTHON_MODULE_INIT(defaults_ext)
105105
m.add(xc);
106106

107107
xc.def_init();
108-
xc.def("bar", X::bar, X_bar_stubs());
108+
xc.def("bar", &X::bar, X_bar_stubs());
109109
}
110110

111111
#include "module_tail.cpp"

0 commit comments

Comments
 (0)