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/Unix | |
| 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/Unix')
| -rw-r--r-- | llvm/lib/System/Unix/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/Path.cpp b/llvm/lib/System/Unix/Path.cpp index 63184f6c1c5..e655ef40cdf 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()) |

