[llvm-commits] CVS: llvm/lib/System/Win32/Path.cpp
Reid Spencer
reid at x10sys.com
Sun Dec 12 22:57:26 PST 2004
Changes in directory llvm/lib/System/Win32:
Path.cpp updated: 1.9 -> 1.10
---
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/Win32/Path.cpp
diff -u llvm/lib/System/Win32/Path.cpp:1.9 llvm/lib/System/Win32/Path.cpp:1.10
--- llvm/lib/System/Win32/Path.cpp:1.9 Mon Dec 13 00:26:35 2004
+++ llvm/lib/System/Win32/Path.cpp Mon Dec 13 00:57:15 2004
@@ -97,7 +97,7 @@
return *TempDirectory;
}
-Path::Path(std::string unverified_path)
+Path::Path(const std::string& unverified_path)
: path(unverified_path)
{
FlipBackSlashes(path);
More information about the llvm-commits
mailing list