bf0e4b3714
also move the header files to ${LOCALBASE}/include/mysql++
24 lines
786 B
Plaintext
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) {
|