diff options
| author | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-10 18:05:19 +0000 |
|---|---|---|
| committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-10 18:05:19 +0000 |
| commit | b6a30b1048c5f841bec46b0aaf1063a727522b08 (patch) | |
| tree | d197859be1e5c08616ca3e477354fb33c290c269 /databases/xbase/files/patch-xbase::xbstring.h | |
| parent | update to 2.40 (diff) | |
Add xbase 2.0.0, an xbase (i.e. dBase, FoxPro, etc.) compatible
C++ class library.
Approved by: pav (mentor).
Notes
Notes:
svn path=/head/; revision=106676
Diffstat (limited to 'databases/xbase/files/patch-xbase::xbstring.h')
| -rw-r--r-- | databases/xbase/files/patch-xbase::xbstring.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/xbase/files/patch-xbase::xbstring.h b/databases/xbase/files/patch-xbase::xbstring.h new file mode 100644 index 000000000000..16f5b282baf7 --- /dev/null +++ b/databases/xbase/files/patch-xbase::xbstring.h @@ -0,0 +1,24 @@ +--- xbase/xbstring.h.orig Sat Jan 27 06:00:32 2001 ++++ xbase/xbstring.h Sat Nov 22 22:30:42 2003 +@@ -56,7 +56,11 @@ + #endif + + #include <stdlib.h> +-#include <iostream.h> ++#include <iostream> ++ ++using std::endl; ++using std::cin; ++using std::cout; + + /*! \file xbstring.h + */ +@@ -119,7 +123,7 @@ + bool operator <= ( const xbString& ) const; + bool operator >= ( const xbString& ) const; + +- friend ostream& operator << ( ostream&, const xbString& ); ++ friend std::ostream& operator << ( std::ostream&, const xbString& ); + + xbString &remove(size_t pos = 0, int n = npos); + xbString mid(size_t pos = 0, int n = npos) const; |
