[Issue 5529] std.system.endian for pure functions?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 13 04:45:47 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5529


kennytm at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kennytm at gmail.com


--- Comment #1 from kennytm at gmail.com 2011-04-13 04:42:18 PDT ---
A simple patch is to replace that 'const' with 'immutable'.


diff --git a/std/system.d b/std/system.d
index 8b205cb..862e99f 100644
--- a/std/system.d
+++ b/std/system.d
@@ -18,7 +18,7 @@
  */
 module std.system;

-const
+immutable
 {

     // Operating system family

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list