Commit 4b9949de authored by gabime's avatar gabime

format

parent 5997e5aa
......@@ -79,11 +79,7 @@ int main(int argc, char *argv[])
auto as = spdlog::basic_logger_mt<spdlog::create_async>("as", "logs/basic_async.log", true);
bench_mt(howmany, as, threads);
spdlog::drop("as");
}
}
catch (std::exception &ex)
{
......
......@@ -72,7 +72,6 @@ public:
return true;
}
private:
size_t max_items_;
std::mutex queue_mutex_;
......
......@@ -139,7 +139,6 @@ public:
return msg_counter_.load(std::memory_order_relaxed);
}
private:
std::atomic<size_t> msg_counter_; // total # of messages processed in this pool
q_type q_;
......
......@@ -77,7 +77,6 @@ TEST_CASE("tp->wait_empty() ", "[async]")
logger->flush();
tp.reset();
REQUIRE(test_sink->msg_counter() == messages);
REQUIRE(test_sink->flush_counter() == 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment