ports/devel/dcd-server/files/patch-src-dcd-server_main.d
Jose Alonso Cardenas Marquez 7b1119cc48 devel/dcd-*: Update to 0.13.6
2022-11-14 21:05:15 -05:00

22 lines
756 B
D

--- src/dcd/server/main.d 2022-11-14 15:42:33.385930000 -0500
+++ src/dcd/server/main.d 2022-11-14 15:43:15.544622000 -0500
@@ -24,8 +24,8 @@
import std.conv;
import std.datetime.stopwatch : AutoStart, StopWatch;
import std.exception : enforce;
-import stdx.allocator;
-import stdx.allocator.mallocator;
+import std.experimental.allocator;
+import std.experimental.allocator.mallocator;
import std.experimental.logger;
import std.file;
import std.getopt;
@@ -176,7 +176,7 @@
info("Sockets shut down.");
}
- ModuleCache cache = ModuleCache(new ASTAllocator);
+ ModuleCache cache = ModuleCache(new ASTAllocator().allocatorObject);
cache.addImportPaths(importPaths);
infof("Import directories:\n %-(%s\n %)", cache.getImportPaths());