summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/System/Path.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/System/Path.h b/llvm/include/llvm/System/Path.h
index a66f8dcfd86..54c1066b520 100644
--- a/llvm/include/llvm/System/Path.h
+++ b/llvm/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.
/// @}
OpenPOWER on IntegriCloud