Author: wyoung
Date: Mon Dec 3 18:37:46 2007
New Revision: 1974
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1974&view=rev
Log:
More whitespace tweaks to custom.pl
Modified:
trunk/lib/custom.pl
Modified: trunk/lib/custom.pl
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/custom.pl?rev=1974&r1=1973&r2=1974&view=diff
==============================================================================
--- trunk/lib/custom.pl (original)
+++ trunk/lib/custom.pl Mon Dec 3 18:37:46 2007
@@ -88,7 +88,7 @@
inline int sql_cmp(const std::string &a, const std::string &b)
{
- return a.compare(b);
+ return a.compare(b);
}
---
@@ -99,7 +99,7 @@
inline int sql_cmp($type a, $type b)
{
- return a - b;
+ return a - b;
}
---
}
@@ -110,9 +110,9 @@
inline int sql_cmp($type a, $type b)
{
- if (a == b) return 0;
- if (a < b) return -1;
- return 1;
+ if (a == b) return 0;
+ if (a < b) return -1;
+ return 1;
}
---
}
@@ -462,9 +462,9 @@
void set (const mysqlpp::Row &row);
sql_compare_define_##CMP(NAME, $parmC)
sql_construct_define_##CONTR(NAME, $parmC)
- static const char *names[];
- static const char *_table;
- static const char *& table() {return _table;}
+ static const char* names[];
+ static const char* _table;
+ static const char*& table() { return _table; }
NAME##_value_list<mysqlpp::quote_type0> value_list() const {
return value_list(",", mysqlpp::quote);}
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits