summaryrefslogtreecommitdiffstats
path: root/devel/regexx/files/patch-src::regex.hh
blob: a34c40bb818f50d915ba14ce88260962195c4baa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- src/regexx.hh.orig	Tue Mar 13 23:42:21 2001
+++ src/regexx.hh	Sun Dec 22 03:08:47 2002
@@ -94,7 +94,7 @@
 
   };
 
-  inline ostream& operator<<(ostream& _o, RegexxMatchAtom& _rxxma)
+  inline std::ostream& operator<<(std::ostream& _o, RegexxMatchAtom& _rxxma)
   {
     return _o << _rxxma.str();
   }
@@ -161,7 +161,7 @@
 
   };
 
-  inline ostream& operator<<(ostream& _o, RegexxMatch& _rxxm)
+  inline std::ostream& operator<<(std::ostream& _o, RegexxMatch& _rxxm)
   {
     return (_o << _rxxm.str());
   }
@@ -566,7 +566,7 @@
   }
 
   inline const std::string&
-  Regexx::replacef(std::string (*_func)(const RegexxMatch&), int _flags = 0)
+  Regexx::replacef(std::string (*_func)(const RegexxMatch&), int _flags)
     throw(CompileException)
   {
     exec(_flags&~nomatch);
@@ -580,7 +580,7 @@
   inline const std::string&
   Regexx::replacef(const std::string& _expr,
 		   std::string (*_func)(const RegexxMatch&),
-		   int _flags = 0)
+		   int _flags)
     throw(CompileException)
   {
     expr(_expr);
@@ -590,7 +590,7 @@
   inline const std::string&
   Regexx::replacef(const std::string& _str, const std::string& _expr,
 		   std::string (*_func)(const RegexxMatch&),
-		   int _flags = 0)
+		   int _flags)
     throw(CompileException)
   {
     str(_str);
OpenPOWER on IntegriCloud