libphobos: Fix modify immutable error on Solaris.
authorIain Buclaw <ibuclaw@gcc.gnu.org>
Mon, 10 Dec 2018 12:11:55 +0000 (12:11 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Mon, 10 Dec 2018 12:11:55 +0000 (12:11 +0000)
Backported from upstream druntime 2.079.

Reviewed-on: https://github.com/dlang/druntime/pull/2089

From-SVN: r266950

libphobos/libdruntime/core/thread.d

index ff15d066a4968c4c8624eb60612b7b36dd30dfc3..98a81425f472717a8e96aa081638a8428659759b 100644 (file)
@@ -1547,7 +1547,7 @@ private:
 
     version (Solaris)
     {
-        __gshared immutable bool m_isRTClass;
+        __gshared bool m_isRTClass;
     }
 
 private: