diff dwt/internal/mozilla/nsIFile.d @ 154:535243e6d16a

Fixes to make dwt compile with ldc
author Jacob Carlborg <doob@me.com>
date Sat, 13 Jun 2009 00:25:05 +0200
parents 5583f8eeee6c
children
line wrap: on
line diff
--- a/dwt/internal/mozilla/nsIFile.d	Thu Jun 11 01:36:32 2009 +0200
+++ b/dwt/internal/mozilla/nsIFile.d	Sat Jun 13 00:25:05 2009 +0200
@@ -14,7 +14,7 @@
 
 interface nsIFile : nsISupports {
   static const char[] IID_STR = NS_IFILE_IID_STR;
-  static const nsIID IID = NS_IFILE_IID;
+  static /*const*/ nsIID IID = NS_IFILE_IID; // const causes bug in ldc TODO
 
   enum { NORMAL_FILE_TYPE = 0U };
   enum { DIRECTORY_TYPE = 1U };