* Add a std::ostream inserter for sys::Path
* Correct the std::string constructor to take a const reference.
llvm-svn: 18877
diff --git a/llvm/lib/System/Unix/Path.cpp b/llvm/lib/System/Unix/Path.cpp
index 63184f6..e655ef4 100644
--- a/llvm/lib/System/Unix/Path.cpp
+++ b/llvm/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())