scid
scid copied to clipboard
DMD 2.064, constructors now gotta be decorated
Problem: doesn't compile in DMD 2.064 Why: a safe function is calling a constructor that isn't marked 'safe' Where: scid/internal/regionallocator.d:(364|394) Quickfix:
diff --git a/scid/internal/regionallocator.d b/scid/internal/regionallocator.d
index 97488cd..7dcbc02 100644
--- a/scid/internal/regionallocator.d
+++ b/scid/internal/regionallocator.d
@@ -103,7 +103,7 @@ $(D RegionAllocatorStack). This exception is not thrown on out of memory.
An $(D OutOfMemoryError) is thrown instead.
*/
class RegionAllocatorException : Exception {
- this(string msg, string file, int line) {
+ this(string msg, string file, int line) @safe {
super(msg, file, line);
}
}