aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-08-11 16:41:22 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-08-11 16:41:22 +0000
commitf221c0bd0d84db004e8b0969e5349b428d101ca8 (patch)
tree1550d77178fbf9d3e208068d4f627ba382d2ce1b
parent327365e58fd8aa2159be77f86b8017da814c59e1 (diff)
Revert 78662 to fix broken windows build. Add a comment which explains the problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78679 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/System/Path.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index a66f8dcfd8..54c1066b52 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -587,7 +587,8 @@ namespace sys {
/// @name Data
/// @{
protected:
- std::string path; ///< Storage for the path name.
+ // Our win32 implementation relies on this string being mutable.
+ mutable std::string path; ///< Storage for the path name.
/// @}