openbsd-ports/devel/mysql++/patches/patch-sqlplusint_set3_hh
wilfried bf0e4b3714 a few gcc3 patches
also move the header files to ${LOCALBASE}/include/mysql++
2004-01-06 11:16:53 +00:00

24 lines
786 B
Plaintext

$OpenBSD: patch-sqlplusint_set3_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $
--- sqlplusint/set3.hh.orig 2001-05-19 18:44:48.000000000 +0200
+++ sqlplusint/set3.hh 2004-01-05 00:10:07.000000000 +0100
@@ -6,9 +6,8 @@
template <class Insert>
void set2container (const char *str, Insert insert) {
- MutableColData s(false);
while (1) {
- s = "";
+ MutableColData s(false);
while (*str != ',' && *str) {
s += *str;
str++;
@@ -20,7 +19,7 @@ void set2container (const char *str, Ins
}
template <class Container>
-ostream& Set<Container>::out_stream (ostream &s) const {
+std::ostream& Set<Container>::out_stream (std::ostream &s) const {
typename Container::const_iterator i = begin();
typename Container::const_iterator e = end();
while (true) {