aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix/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
commit732f92d56ebca7229bea69fdec6b5609f135ff76 (patch)
tree8a3c6662ab0ab2911ce485df198e4c4658fb2e70 /lib/System/Unix/Path.cpp
parent3265369ff528e09a71cc8f1ce20f28f65d8e2bcc (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/Unix/Path.cpp')
-rw-r--r--lib/System/Unix/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Path.cpp b/lib/System/Unix/Path.cpp
index 63184f6c1c..e655ef40cd 100644
--- a/lib/System/Unix/Path.cpp
+++ b/lib/System/Unix/Path.cpp
@@ -27,7 +27,7 @@
namespace llvm {
using namespace sys;
-Path::Path(std::string unverified_path)
+Path::Path(const std::string& unverified_path)
: path(unverified_path)
{
if (unverified_path.empty())