aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
/// @}