* Add a std::ostream inserter for sys::Path

* Correct the std::string constructor to take a const reference.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-12-13 06:57:15 +00:00
parent 3265369ff5
commit 732f92d56e
5 changed files with 11 additions and 5 deletions

View File

@@ -97,7 +97,7 @@ Path::GetTemporaryDirectory() {
return *TempDirectory;
}
Path::Path(std::string unverified_path)
Path::Path(const std::string& unverified_path)
: path(unverified_path)
{
FlipBackSlashes(path);