diff mbox series

[libphobos] Committed fix modify immutable error on Solaris

Message ID CABOHX+cARYav1hsxR-74c0K6tMjRLsNihmoZRa-_JzN7OF2W=w@mail.gmail.com
State New
Headers show
Series [libphobos] Committed fix modify immutable error on Solaris | expand

Commit Message

Iain Buclaw Dec. 10, 2018, 12:12 p.m. UTC
Hi,

This is another Solaris backport from druntime 2.079, fixing a build
error in the core.thread module.

Bootstrapped and tested on i386-pc-solaris2.11.

Committed to trunk as r266950.
diff mbox series

Patch

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: