summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Win32/Path.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 06:57:15 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 06:57:15 +0000
commit0230a5eead535ee3960455ba17a750766bbba7e4 (patch)
treedd535718ef1d03749180983fdd4124b7088dfd32 /llvm/lib/System/Win32/Path.cpp
parentccd99b9b612cf601d3e8a2df968f6a22abdfdb1c (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud