diff dmd/TemplateExp.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 e28b18c23469
line wrap: on
line diff
--- a/dmd/TemplateExp.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/TemplateExp.d	Sat Aug 28 16:19:48 2010 +0200
@@ -1,29 +1,29 @@
-module dmd.TemplateExp;
-
-import dmd.Expression;
-import dmd.OutBuffer;
-import dmd.Loc;
-import dmd.HdrGenState;
-import dmd.TemplateDeclaration;
-import dmd.TOK;
-
+module dmd.TemplateExp;
+
+import dmd.Expression;
+import dmd.OutBuffer;
+import dmd.Loc;
+import dmd.HdrGenState;
+import dmd.TemplateDeclaration;
+import dmd.TOK;
+
 class TemplateExp : Expression
 {
 	TemplateDeclaration td;
 
 	this(Loc loc, TemplateDeclaration td)
-	{
+	{
 		super(loc, TOK.TOKtemplate, TemplateExp.sizeof);
 		//printf("TemplateExp(): %s\n", td.toChars());
 		this.td = td;
 	}
 
-	void rvalue()
+	override void rvalue()
 	{
 		error("template %s has no value", toChars());
 	}
 
-	void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+	override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		buf.writestring(td.toChars());
 	}