[llvm-commits] CVS: llvm/lib/System/Unix/Path.cpp
Reid Spencer
reid at x10sys.com
Sun Dec 12 22:57:26 PST 2004
Changes in directory llvm/lib/System/Unix:
Path.cpp updated: 1.17 -> 1.18
---
Log message:
* Add a std::ostream inserter for sys::Path
* Correct the std::string constructor to take a const reference.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/System/Unix/Path.cpp
diff -u llvm/lib/System/Unix/Path.cpp:1.17 llvm/lib/System/Unix/Path.cpp:1.18
--- llvm/lib/System/Unix/Path.cpp:1.17 Sun Dec 12 21:00:51 2004
+++ llvm/lib/System/Unix/Path.cpp Mon Dec 13 00:57:15 2004
@@ -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())
More information about the llvm-commits
mailing list