Reduce symbol sizes and simplify iterator use
This commit is contained in:
1 parent
c5adfc51c5
commit
b998e0f30b
10 files changed
+53
-44
No files matched your search
+3
-4
@@ -1844,10 +1844,9 @@ class mock_arg_formatter
|
||||
};
|
||||
|
||||
static void custom_vformat(fmt::string_view format_str, fmt::format_args args) {
|
||||
fmt::memory_buffer buffer;
|
||||
fmt::detail::buffer<char>& base = buffer;
|
||||
fmt::vformat_to<mock_arg_formatter>(std::back_inserter(base), format_str,
|
||||
args);
|
||||
fmt::memory_buffer buf;
|
||||
fmt::vformat_to<mock_arg_formatter>(fmt::detail::buffer_appender<char>(buf),
|
||||
format_str, args);
|
||||
}
|
||||
|
||||
template <typename... Args>
|
||||
|
||||
Reference in new issue
Block a user