From c211335760f2c5883aed34c31aeb6ce7e8e51bf9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 7 May 2007 10:25:25 +0000 Subject: Extended Python amount class. --- src/pyutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pyutils.h') diff --git a/src/pyutils.h b/src/pyutils.h index 84a0db7e..42d5f1e0 100644 --- a/src/pyutils.h +++ b/src/pyutils.h @@ -21,7 +21,7 @@ struct register_python_conversion }; template -struct python_optional : public boost::noncopyable +struct register_optional_to_python : public boost::noncopyable { struct optional_to_python { @@ -67,7 +67,7 @@ struct python_optional : public boost::noncopyable } }; - explicit python_optional() { + explicit register_optional_to_python() { register_python_conversion, optional_to_python, optional_from_python>(); } -- cgit v1.2.3