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 | 0230a5eead535ee3960455ba17a750766bbba7e4 (patch) | |
tree | dd535718ef1d03749180983fdd4124b7088dfd32 /llvm/lib/System/Win32/Path.cpp | |
parent | ccd99b9b612cf601d3e8a2df968f6a22abdfdb1c (diff) | |
download | bcm5719-llvm-0230a5eead535ee3960455ba17a750766bbba7e4.tar.gz bcm5719-llvm-0230a5eead535ee3960455ba17a750766bbba7e4.zip |
* Add a std::ostream inserter for sys::Path
* Correct the std::string constructor to take a const reference.
llvm-svn: 18877
Diffstat (limited to 'llvm/lib/System/Win32/Path.cpp')
-rw-r--r-- | llvm/lib/System/Win32/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Win32/Path.cpp b/llvm/lib/System/Win32/Path.cpp index 095417f0fec..070ebb31208 100644 --- a/llvm/lib/System/Win32/Path.cpp +++ b/llvm/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); |