diff dmd/VersionCondition.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents 10317f0c89a5
children acd69f84627e
line wrap: on
line diff
--- a/dmd/VersionCondition.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/VersionCondition.d	Sat Aug 28 16:19:48 2010 +0200
@@ -104,7 +104,7 @@
 		super(mod, level, ident);
 	}
 
-    final bool include(Scope sc, ScopeDsymbol s)
+    override final bool include(Scope sc, ScopeDsymbol s)
 	{
 		//printf("VersionCondition::include() level = %d, versionlevel = %d\n", level, global.params.versionlevel);
 		//if (ident) printf("\tident = '%s'\n", ident->toChars());
@@ -129,7 +129,7 @@
 		return (inc == 1);
 	}
 	
-    final void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+    override final void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		if (ident !is null) {
 			buf.printf("version (%s)", ident.toChars());
@@ -137,4 +137,4 @@
 			buf.printf("version (%u)", level);
 		}
 	}
-}
\ No newline at end of file
+}