changeset 39:b6c34f1fc7f3

Changed inout to ref for compile
author daveb
date Fri, 09 Apr 2010 15:19:14 +0930
parents 452915ecd1f4
children 1f97022e5c6d
files builder.d
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/builder.d	Sun Sep 27 22:51:03 2009 +0930
+++ b/builder.d	Fri Apr 09 15:19:14 2010 +0930
@@ -96,7 +96,7 @@
 //
 // Some global data
 //
-class Global {
+abstract class Global {
     static string       buildPath;
     static string       optionsPath;
     static string[]     bundlePaths;
@@ -557,7 +557,7 @@
     // Add this library and any it depends on to libs, if they aren't there already.
     // NOTE - they are added with libraries appearing after those they depend on
     // (reverse of compiler command-line).
-    void addNeeded(inout LibraryItem[] libs) {
+    void addNeeded(ref LibraryItem[] libs) {
 
         void add(LibraryItem lib) {
             foreach (item; libs) {