summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-09 20:51:07 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-17 15:36:04 +0000
commitb2a09ea4681fe0b67a7882aa9a40869f932443d2 (patch)
tree698088c11f94db69039cb5368e3b7f1cf6e67c36
parentAdd -Wconversion and -Wsign-conversion (diff)
downloadicespider-b2a09ea4681fe0b67a7882aa9a40869f932443d2.tar.bz2
icespider-b2a09ea4681fe0b67a7882aa9a40869f932443d2.tar.xz
icespider-b2a09ea4681fe0b67a7882aa9a40869f932443d2.zip
Tweak cos this isn't a cast, it's a copy
-rw-r--r--icespider/compile/main.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}