From: Iain Buclaw Date: Mon, 10 Dec 2018 12:11:55 +0000 (+0000) Subject: libphobos: Fix modify immutable error on Solaris. X-Git-Tag: basepoints/gcc-10~2443 X-Git-Url: https://gcc.gnu.org/git/?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 ff15d066a496..98a81425f472 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: