Update of /cvsroot/luabind/luabind/luabind/examples/any_converter
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv24273
Modified Files:
any_converter.cpp
Log Message:
returning a string in both cases didn't really show off the usefulness
Index: any_converter.cpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/examples/any_converter/any_converter.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- any_converter.cpp 10 Jul 2006 13:41:23 -0000 1.5
+++ any_converter.cpp 10 Jul 2006 13:49:43 -0000 1.6
@@ -59,7 +59,7 @@
boost::any f(bool b)
{
if (b) return "foobar";
- else return "3.5f";
+ else return 3.5f;
}
int main()
|