Revert 78662 to fix broken windows build. Add a comment which explains the problem.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 11 Aug 2009 16:41:22 +0000 (16:41 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 11 Aug 2009 16:41:22 +0000 (16:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78679 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/System/Path.h

index a66f8dcfd861f6fb2ffeb0e48af298854620194f..54c1066b5202d05af3e7739a676c33a5244942b3 100644 (file)
@@ -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.
 
 
     /// @}