Author: wyoung
Date: Fri Feb 15 07:28:22 2008
New Revision: 2198
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2198&view=rev
Log:
Minor constness fix which allows use of mysqlpp::null in mixed constness
constructs.
Modified:
trunk/lib/null.h
Modified: trunk/lib/null.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/null.h?rev=2198&r1=2197&r2=2198&view=diff
==============================================================================
--- trunk/lib/null.h (original)
+++ trunk/lib/null.h Fri Feb 15 07:28:22 2008
@@ -7,7 +7,7 @@
/***********************************************************************
Copyright (c) 1998 by Kevin Atkinson, (c) 1999-2001 by MySQL AB, and
- (c) 2004-2007 by Educational Technology Resources, Inc. Others may
+ (c) 2004-2008 by Educational Technology Resources, Inc. Others may
also hold copyrights on code in this file. See the CREDITS file in
the top directory of the distribution for details.
@@ -51,7 +51,7 @@
public:
#if !defined(DOXYGEN_IGNORE)
// Doxygen will not generate documentation for this section.
- template <class Type> operator Type()
+ template <class Type> operator Type() const
{
throw BadNullConversion();
return Type();
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits