View | Details | Raw Unified | Return to bug 188658
Collapse All | Expand All

(-)files/patch-inc__cc++__string.h (+21 lines)
Line 0 Link Here
1
--- inc/cc++/string.h.orig	2014-04-15 15:05:21.000000000 +0200
2
+++ inc/cc++/string.h	2014-04-15 15:10:46.000000000 +0200
3
@@ -74,6 +74,9 @@
4
  * @author David Sugar <dyfet@ostel.com>
5
  * @short Generic string class.
6
  */
7
+class String;
8
+std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0);
9
+
10
 class __EXPORT String
11
 {
12
 protected:
13
@@ -731,7 +734,7 @@
14
      * @param delim deliminator to use.
15
      * @param size optional size limitor.
16
      */
17
-    friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0);
18
+    friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim, size_t size);
19
 
20
     /**
21
      * Stream the content of our string variable directly to a C++

Return to bug 188658