Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/converters/mimelib/files/patch-mimelib-mimelib-string.h
16171 views
1
--- mimelib/mimelib/string.h.bak 2011-01-20 11:10:01.000000000 +0100
2
+++ mimelib/mimelib/string.h 2011-01-20 11:12:06.000000000 +0100
3
@@ -504,7 +504,7 @@
4
//. {\tt DwString} object. White space characters include ASCII HT,
5
//. LF, and SPACE.
6
7
- void WriteTo(ostream& aStrm) const;
8
+ void WriteTo(std::ostream& aStrm) const;
9
//. Writes the contents of this {\tt DwString} object to the stream
10
//. {\tt aStrm}.
11
12
@@ -569,7 +569,7 @@
13
14
public:
15
16
- virtual void PrintDebugInfo(ostream& aStrm) const;
17
+ virtual void PrintDebugInfo(std::ostream& aStrm) const;
18
//. Prints debugging information about the object to {\tt aStrm}.
19
//.
20
//. This member function is available only in the debug version of
21
@@ -736,11 +736,11 @@
22
DW_EXPORT DwBool operator >= (const DwString& aStr1, const char* aCstr);
23
DW_EXPORT DwBool operator >= (const char* aCstr, const DwString& aStr2);
24
25
-DW_EXPORT ostream& operator << (ostream& aOstrm, const DwString& aStr);
26
+DW_EXPORT std::ostream& operator << (std::ostream& aOstrm, const DwString& aStr);
27
//. Writes the contents of {\tt aStr} to the stream {\tt aOstrm}.
28
29
-DW_EXPORT istream& getline (istream& aIstrm, DwString& aStr, char aDelim);
30
-DW_EXPORT istream& getline (istream& aIstrm, DwString& aStr);
31
+DW_EXPORT std::istream& getline (std::istream& aIstrm, DwString& aStr, char aDelim);
32
+DW_EXPORT std::istream& getline (std::istream& aIstrm, DwString& aStr);
33
34
DW_EXPORT int DwStrcasecmp(const DwString& aStr1, const DwString& aStr2);
35
DW_EXPORT int DwStrcasecmp(const DwString& aStr1, const char* aCstr);
36
37