vscodium: fix bundle resources being modified on darwin (#373630)
[NixPkgs.git] / pkgs / tools / misc / torrenttools / fmt-9.patch
blob5bdc666d4bd2e13213899f2b16ad028298794fc9
1 diff --git a/include/file_matcher.hpp b/include/file_matcher.hpp
2 index c10c7be405..b67baec0ef 100644
3 --- a/include/file_matcher.hpp
4 +++ b/include/file_matcher.hpp
5 @@ -47,7 +47,7 @@
8 std::string error;
9 - std::string pattern = ".*.{}$"_format(extension);
10 + std::string pattern = fmt::format(".*.{}$", extension);
11 file_include_list_.Add(pattern, &error);
12 file_include_list_empty_ = false;
13 Ensures(error.empty());
14 @@ -62,7 +62,7 @@
17 std::string error;
18 - std::string pattern = ".*\\.{}$"_format(extension);
19 + std::string pattern = fmt::format(".*\\.{}$", extension);
20 file_exclude_list_.Add(pattern, &error);
21 file_exclude_list_empty_ = false;
22 Ensures(error.empty());
23 @@ -243,4 +243,4 @@
27 -} // namespace torrenttools
28 \ No newline at end of file
29 +} // namespace torrenttools