Author: wyoung
Date: Mon Nov 19 21:35:15 2007
New Revision: 1863

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1863&view=rev
Log:
Fixed a typo in a public data member ("delem" for "delimiter", now
"delim").  It's an internal implementation detail, but it had to wait
for v3 to break the ABI.

Modified:
    trunk/lib/vallist.h

Modified: trunk/lib/vallist.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/vallist.h?rev=1863&r1=1862&r2=1863&view=diff
==============================================================================
--- trunk/lib/vallist.h (original)
+++ trunk/lib/vallist.h Mon Nov 19 21:35:15 2007
@@ -25,7 +25,7 @@
  USA
 ***********************************************************************/
 
-#ifndef MYSQLPP_VALLIST_H
+#if !defined(MYSQLPP_VALLIST_H)
 #define MYSQLPP_VALLIST_H
 
 #include "manip.h"
@@ -68,7 +68,7 @@
        const Seq2* list2;
 
        /// \brief delimiter to use between each pair of elements
-       const char* delem;
+       const char* delim;
 
        /// \brief "equal" sign to use between each item in each equal
        /// pair; doesn't have to actually be " = "
@@ -92,7 +92,7 @@
                        const char* e, Manip m) :
        list1(&s1),
        list2(&s2),
-       delem(d),
+       delim(d),
        equl(e),
        manip(m)
        {
@@ -127,7 +127,7 @@
        const std::vector<bool> fields;
 
        /// \brief delimiter to use between each pair of elements
-       const char* delem;
+       const char* delim;
 
        /// \brief "equal" sign to use between each item in each equal
        /// pair; doesn't have to actually be " = "
@@ -155,7 +155,7 @@
        list1(&s1),
        list2(&s2),
        fields(f),
-       delem(d),
+       delim(d),
        equl(e),
        manip(m)
        {
@@ -190,7 +190,7 @@
 
        /// \brief delimiter to use between each value in the list when
        /// inserting it into a C++ stream
-       const char* delem;
+       const char* delim;
 
        /// \brief manipulator to use when inserting the list into a
        /// C++ stream
@@ -205,7 +205,7 @@
        ///     C++ stream
        value_list_ba(const Seq& s, const char* d, Manip m) :
        list(&s),
-       delem(d),
+       delim(d),
        manip(m)
        {
        }
@@ -234,7 +234,7 @@
 
        /// \brief delimiter to use between each value in the list when
        /// inserting it into a C++ stream
-       const char* delem;
+       const char* delim;
 
        /// \brief manipulator to use when inserting the list into a C++
        /// stream
@@ -253,7 +253,7 @@
                        const char* d, Manip m) :
        list(&s),
        fields(f),
-       delem(d),
+       delim(d),
        manip(m)
        {
        }
@@ -281,7 +281,7 @@
                if ((++i == el.list1->end()) || (++j == el.list2->end())) {
                        break;
                }
-               o << el.delem;
+               o << el.delim;
        }
 
        return o;
@@ -309,7 +309,7 @@
                        break;
                }
                if (el.fields[k]) {
-                       o << el.delem;
+                       o << el.delim;
                }
        }
 
@@ -337,7 +337,7 @@
                if (++i == cl.list->end()) {
                        break;
                }
-               o << cl.delem;
+               o << cl.delim;
        }
 
        return o;
@@ -364,7 +364,7 @@
                        break; 
                }
                if (cl.fields[k]) {
-                       o << cl.delem; 
+                       o << cl.delim; 
                }
        }
 
@@ -683,4 +683,4 @@
 
 } // end namespace mysqlpp
 
-#endif
+#endif // !defined(MYSQLPP_VALLIST_H)


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

Reply via email to