Namespace ostream and endl into std::
Use <iostream> without the .h
This commit is contained in:
@@ -50,9 +50,16 @@ class SearchPath {
|
||||
virtual void ExportPath();
|
||||
virtual void Print();
|
||||
virtual void AddPredefinedPath();
|
||||
|
||||
#if defined(linux)
|
||||
virtual void PrettyPrint (std::ostream &) const;
|
||||
|
||||
friend std::ostream & operator<< (std::ostream &, const SearchPath &);
|
||||
#else
|
||||
virtual void PrettyPrint (ostream &) const;
|
||||
|
||||
friend ostream & operator<< (ostream &, const SearchPath &);
|
||||
#endif
|
||||
|
||||
const char * GetEnvVar() const { return environment_var; }
|
||||
CString GetSearchPath() const { return final_search_path; }
|
||||
@@ -178,7 +185,11 @@ class ManSearchPath : public SearchPath {
|
||||
virtual void ExportPath ();
|
||||
virtual void Print();
|
||||
|
||||
#if defined(linux)
|
||||
friend std::ostream & operator<< (std::ostream &, const ManSearchPath &);
|
||||
#else
|
||||
friend ostream & operator<< (ostream &, const ManSearchPath &);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual void MakePath (const CString &);
|
||||
|
||||
Reference in New Issue
Block a user