diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 06:57:15 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 06:57:15 +0000 |
commit | 732f92d56ebca7229bea69fdec6b5609f135ff76 (patch) | |
tree | 8a3c6662ab0ab2911ce485df198e4c4658fb2e70 /lib/System/Win32/Path.cpp | |
parent | 3265369ff528e09a71cc8f1ce20f28f65d8e2bcc (diff) |
* 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
Diffstat (limited to 'lib/System/Win32/Path.cpp')
-rw-r--r-- | lib/System/Win32/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/Path.cpp b/lib/System/Win32/Path.cpp index 095417f0fe..070ebb3120 100644 --- a/lib/System/Win32/Path.cpp +++ b/lib/System/Win32/Path.cpp @@ -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); |