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
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());
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());
27 -} // namespace torrenttools
28 \ No newline at end of file
29 +} // namespace torrenttools