Author: mysqlpp
Date: Thu Oct 27 07:59:17 2011
New Revision: 2699

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2699&view=rev
Log:
Removed a pointless "const" that GCC 4.4 warns about.  (Earlier
compilers just ignored it.)  Patch by Adrian Cornish.

Modified:
    trunk/lib/ssqls.pl

Modified: trunk/lib/ssqls.pl
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/ssqls.pl?rev=2699&r1=2698&r2=2699&view=diff
==============================================================================
--- trunk/lib/ssqls.pl (original)
+++ trunk/lib/ssqls.pl Thu Oct 27 07:59:17 2011
@@ -500,7 +500,7 @@
        sql_construct_define_##CONTR(NAME, $parmC)
        static const char* names[];
        static void table(const char* t) { table_ = t; }
-       const char* const table() const
+       const char* table() const
                        { return table_override_ ? table_override_ : 
NAME::table_; }
        void instance_table(const char* t) { table_override_ = t; }
 


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to