[Haiku-commits] r31327 - haiku/branches/components/gsoc-locale-kit/headers/cpp
zooey at BerliOS
zooey at mail.berlios.de
Tue Jun 30 15:55:35 CEST 2009
Author: zooey
Date: 2009-06-30 15:55:34 +0200 (Tue, 30 Jun 2009)
New Revision: 31327
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31327&view=rev
Modified:
haiku/branches/components/gsoc-locale-kit/headers/cpp/sstream
Log:
* adjust the signature of stringbuf::setbuf() to match the one from streambuf
Modified: haiku/branches/components/gsoc-locale-kit/headers/cpp/sstream
===================================================================
--- haiku/branches/components/gsoc-locale-kit/headers/cpp/sstream 2009-06-30 12:57:41 UTC (rev 31326)
+++ haiku/branches/components/gsoc-locale-kit/headers/cpp/sstream 2009-06-30 13:55:34 UTC (rev 31327)
@@ -124,7 +124,7 @@
}
virtual streambuf*
- setbuf(char_type* s, streamsize n)
+ setbuf(char_type* s, int n)
{
if (n != 0)
{
@@ -226,7 +226,7 @@
char_type* stream;
streamsize stream_len;
};
-
+
class istringstream : public istream {
public:
typedef char char_type;
@@ -263,7 +263,7 @@
private:
stringbuf sb;
};
-
+
class ostringstream : public ostream {
public:
typedef char char_type;
@@ -300,7 +300,7 @@
private:
stringbuf sb;
};
-
+
class stringstream : public iostream {
public:
typedef char char_type;
More information about the Haiku-commits
mailing list