From cbd7a2efcb367677f189e3bfed0f8206b1bd474d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 5 Mar 2021 18:37:21 -0500 Subject: fix issues raised by dmd2.095.1 ldc2 1.25.0 --- src/doc_reform/io_out/paths_output.d | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/doc_reform/io_out/paths_output.d') diff --git a/src/doc_reform/io_out/paths_output.d b/src/doc_reform/io_out/paths_output.d index 56cc40c..1f08702 100644 --- a/src/doc_reform/io_out/paths_output.d +++ b/src/doc_reform/io_out/paths_output.d @@ -426,6 +426,7 @@ template spinePathsEPUB() { } } template spinePathsODT() { + import std.conv; mixin spineRgxIn; static auto rgx = RgxI(); auto spinePathsODT(M)( @@ -442,8 +443,8 @@ template spinePathsODT() { } string dirtop(string type) { return (type == "zip") - ? "".chainPath("").array - : ((base_pth.chainPath(doc_matters.src.doc_uid_out)).asNormalizedPath).array; + ? "" // ".chainPath("").array + : ((base_pth.chainPath(doc_matters.src.doc_uid_out)).asNormalizedPath).array.to!string; } string mimetype(string type="fs") { assert(type == "zip" || "fs"); -- cgit v1.2.3