aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/glclock/files/patch-MString.H
blob: 43349127840dd2e6354982729a269c011fa4b16d (plain) (blame)
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
--- MString.H.orig	2000-06-22 14:58:26 UTC
+++ MString.H
@@ -66,7 +66,7 @@
 #ifndef ___STRING_H___
 #define ___STRING_H___
 
-#include <iostream.h>
+#include <iostream>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -75,6 +75,7 @@
 
 #include "Define.H"
 
+using namespace std;
 
 //#define STRING_DEBUG
 
@@ -307,15 +308,15 @@ class String
 
     // m ʸ���ܤ��� n ʸ��
     String& Mid(int m, int n = 1) ;
-    friend String Mid(String s, int m, int n = 1) ;
+    friend String Mid(String s, int m, int n) ;
 
     // ������ n ʸ��
     String& Left(int n = 1) ;
-    friend String Left(const String& s, int n = 1) ;
+    friend String Left(const String& s, int n) ;
 
     // ������ n ʸ��
     String& Right(int n = 1) ;
-    friend String Right(const String& s, int n = 1) ;
+    friend String Right(const String& s, int n) ;
 
 	String FileDirectory() const ;
 	String FileNamePart() const ;