aboutsummaryrefslogtreecommitdiff
path: root/cad/cura-engine/files/patch-include_utils_format_filesystem__path.h
diff options
context:
space:
mode:
Diffstat (limited to 'cad/cura-engine/files/patch-include_utils_format_filesystem__path.h')
-rw-r--r--cad/cura-engine/files/patch-include_utils_format_filesystem__path.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/cura-engine/files/patch-include_utils_format_filesystem__path.h b/cad/cura-engine/files/patch-include_utils_format_filesystem__path.h
new file mode 100644
index 000000000000..430fcd516f0a
--- /dev/null
+++ b/cad/cura-engine/files/patch-include_utils_format_filesystem__path.h
@@ -0,0 +1,11 @@
+--- include/utils/format/filesystem_path.h.orig 2024-04-02 12:26:14 UTC
++++ include/utils/format/filesystem_path.h
+@@ -30,7 +30,7 @@ struct formatter<std::filesystem::path> : formatter<st
+ }
+
+ template<typename FormatContext>
+- auto format(const std::filesystem::path& path, FormatContext& ctx)
++ auto format(const std::filesystem::path& path, FormatContext& ctx) const
+ {
+ return formatter<string_view>::format(anonymizePath(path.generic_string()), ctx);
+ }