From: Iain Buclaw Date: Mon, 10 Dec 2018 12:11:55 +0000 (+0000) Subject: libphobos: Fix modify immutable error on Solaris. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48428c18142e5c726f2dc5f92b0759fd3c7df890;p=gcc.git libphobos: Fix modify immutable error on Solaris. Backported from upstream druntime 2.079. Reviewed-on: https://github.com/dlang/druntime/pull/2089 From-SVN: r266950 --- diff --git a/libphobos/libdruntime/core/thread.d b/libphobos/libdruntime/core/thread.d index ff15d066a49..98a81425f47 100644 --- a/libphobos/libdruntime/core/thread.d +++ b/libphobos/libdruntime/core/thread.d @@ -1547,7 +1547,7 @@ private: version (Solaris) { - __gshared immutable bool m_isRTClass; + __gshared bool m_isRTClass; } private: