diff dmd/StorageClassDeclaration.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 b7d29f613539
children 7e0d548de9e6
line wrap: on
line diff
--- a/dmd/StorageClassDeclaration.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/StorageClassDeclaration.d	Sat Aug 28 16:19:48 2010 +0200
@@ -21,7 +21,7 @@
 		this.stc = stc;
 	}
 	
-    Dsymbol syntaxCopy(Dsymbol s)
+    override Dsymbol syntaxCopy(Dsymbol s)
 	{
 		StorageClassDeclaration scd;
 
@@ -30,7 +30,7 @@
 		return scd;
 	}
 	
-    void setScope(Scope sc)
+    override void setScope(Scope sc)
 	{
 		if (decl)
 		{
@@ -53,7 +53,7 @@
 		}
 	}
 	
-    void semantic(Scope sc)
+    override void semantic(Scope sc)
 	{
 		if (decl)
 		{
@@ -76,7 +76,7 @@
 		}
 	}
 	
-    void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+    override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		assert(false);
 	}
@@ -125,4 +125,4 @@
 			}
 		}
 	}
-}
\ No newline at end of file
+}