summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}