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

13 lines
471 B
Plaintext

$OpenBSD: patch-sqlplusint_coldata4_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $
--- sqlplusint/coldata4.hh.orig 2001-05-19 18:44:48.000000000 +0200
+++ sqlplusint/coldata4.hh 2004-01-04 23:25:47.000000000 +0100
@@ -9,7 +9,7 @@
template <class Str> template<class Type>
Type mysql_ColData<Str>::conv (Type dummy) const {
- string strbuf(buf);
+ std::string strbuf = buf;
strip_all_blanks(strbuf);
size_t len = strbuf.size();
const char *str = strbuf.c_str();