From: ibuclaw Date: Mon, 10 Dec 2018 12:11:55 +0000 (+0000) Subject: libphobos: Fix modify immutable error on Solaris. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d491a51f434e3c6e7c2496a5642189f2399f65a7;p=thirdparty%2Fgcc.git libphobos: Fix modify immutable error on Solaris. Backported from upstream druntime 2.079. Reviewed-on: https://github.com/dlang/druntime/pull/2089 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266950 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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: