diff --git a/bench/formatter-bench.cpp b/bench/formatter-bench.cpp index 857f4c78..a4ddaa7b 100644 --- a/bench/formatter-bench.cpp +++ b/bench/formatter-bench.cpp @@ -8,19 +8,6 @@ #include "spdlog/spdlog.h" #include "spdlog/details/pattern_formatter.h" -void bench_scoped_pad(benchmark::State &state, size_t wrapped_size, spdlog::details::padding_info padinfo) -{ - fmt::memory_buffer dest; - for (auto _ : state) - { - { - spdlog::details::scoped_pad p(wrapped_size, padinfo, dest); - benchmark::DoNotOptimize(p); - dest.clear(); - } - } -} - void bench_formatter(benchmark::State &state, std::string pattern) { auto formatter = spdlog::details::make_unique(pattern);