#include <iosfwd> not <ostream>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-07-07 18:10:59 +00:00
parent cb7938c328
commit ff74ac103d

View File

@ -18,7 +18,7 @@
#include <set>
#include <string>
#include <vector>
#include <ostream>
#include <iosfwd>
namespace llvm {
namespace sys {
@ -567,10 +567,7 @@ namespace sys {
void CopyFile(const Path& Dest, const Path& Src);
}
inline std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath) {
strm << aPath.toString();
return strm;
}
std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath);
}