From b2a09ea4681fe0b67a7882aa9a40869f932443d2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 9 Sep 2021 20:51:07 +0100 Subject: Tweak cos this isn't a cast, it's a copy --- icespider/compile/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icespider/compile/main.cpp b/icespider/compile/main.cpp index b8eb26e..180d3f1 100644 --- a/icespider/compile/main.cpp +++ b/icespider/compile/main.cpp @@ -58,7 +58,7 @@ main(int c, char ** v) rc.compile(input, output); if (!post.empty()) { - auto outputh = std::filesystem::path(output).replace_extension(".h"); + auto outputh = std::filesystem::path {output}.replace_extension(".h"); return system("%? %? %?"_fmt(post, output, outputh).c_str()); } -- cgit v1.2.3