openbsd-ports/devel/mysql++/patches/patch-sqlplusint_null2_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
518 B
Plaintext

$OpenBSD: patch-sqlplusint_null2_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $
--- sqlplusint/null2.hh.orig 2001-05-19 18:44:48.000000000 +0200
+++ sqlplusint/null2.hh 2004-01-04 23:26:25.000000000 +0100
@@ -4,7 +4,7 @@
#include "null1.hh"
template <class Type, class Behavior>
-inline ostream& operator << (ostream &o, const Null<Type,Behavior> &n) {
+inline std::ostream& operator << (std::ostream &o, const Null<Type,Behavior> &n) {
if (n.is_null) return Behavior::null_ostr(o);
else return o << n.data;
}