mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-05 04:06:46 +08:00
change async queue limits to constexpr
This commit is contained in:
parent
eb660caa6c
commit
aec733b7a9
@ -31,7 +31,8 @@ public:
|
||||
discard_new // Discard the log message if the queue is full
|
||||
};
|
||||
|
||||
enum { default_queue_size = 8192, max_queue_size = 250'000};
|
||||
static constexpr size_t default_queue_size = 8192;
|
||||
static constexpr size_t max_queue_size = 250'000;
|
||||
|
||||
struct config {
|
||||
size_t queue_size = default_queue_size;
|
||||
|
Loading…
Reference in New Issue
Block a user