diff dmd/FileName.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 ccbc1e0bb3f0
children 722df8e7509c
line wrap: on
line diff
--- a/dmd/FileName.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/FileName.d	Sat Aug 28 16:19:48 2010 +0200
@@ -39,7 +39,7 @@
 		super(combine(path, name));
 	}
 
-    hash_t hashCode()
+    override hash_t hashCode()
 	{
 version (_WIN32) {
 		// We need a different hashCode because it must be case-insensitive
@@ -84,7 +84,7 @@
 }
 	}
 
-    bool opEquals(Object obj)
+    override bool opEquals(Object obj)
 	{
 		return opCmp(obj) == 0;
 	}
@@ -94,7 +94,7 @@
 		return compare(name1, name2) == 0;
 	}
 
-    int opCmp(Object obj)
+    override int opCmp(Object obj)
 	{
 		return compare(str, (cast(FileName)obj).str);
 	}