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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user