From 732f92d56ebca7229bea69fdec6b5609f135ff76 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 13 Dec 2004 06:57:15 +0000 Subject: * 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 --- lib/System/Unix/Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/System/Unix/Path.cpp') 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()) -- cgit v1.2.3-70-g09d2