mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 01:10:26 +08:00
Fix #1340
This commit is contained in:
parent
2698f54a9c
commit
1aa9ea92e2
@ -5,6 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <cassert>
|
||||
|
||||
namespace spdlog {
|
||||
namespace details {
|
||||
|
@ -75,8 +75,6 @@ public:
|
||||
private:
|
||||
void pad_it(long count)
|
||||
{
|
||||
// count = std::min(count, spaces_.size());
|
||||
// assert(count <= spaces_.size());
|
||||
fmt_helper::append_string_view(string_view_t(spaces_.data(), static_cast<size_t>(count)), dest_);
|
||||
}
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
#endif
|
||||
|
||||
#include <spdlog/common.h>
|
||||
#include <cassert>
|
||||
|
||||
namespace spdlog {
|
||||
namespace details {
|
||||
|
Loading…
Reference in New Issue
Block a user