2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Fix bug in example thanks to Roman Yakovenko.

[SVN r30616]
This commit is contained in:
Dave Abrahams
2005-08-21 15:19:51 +00:00
parent 126a3efb92
commit 9ceac3ff8f

View File

@@ -110,7 +110,7 @@ using namespace boost::python;
struct X
{
X(int x) : v(x) {}
operator int() { return v; }
operator int() const { return v; }
int v;
};