From 9ceac3ff8fa1bf71f0b69d6e098ad7b4dca3f600 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 21 Aug 2005 15:19:51 +0000 Subject: [PATCH] Fix bug in example thanks to Roman Yakovenko. [SVN r30616] --- doc/v2/implicit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/v2/implicit.html b/doc/v2/implicit.html index 10b4a82b..f3fda2d2 100644 --- a/doc/v2/implicit.html +++ b/doc/v2/implicit.html @@ -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; };