From f221c0bd0d84db004e8b0969e5349b428d101ca8 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 11 Aug 2009 16:41:22 +0000 Subject: [PATCH] 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 --- include/llvm/System/Path.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h index a66f8dcfd86..54c1066b520 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. /// @} -- 2.50.1