Commit 1aa9ea92 authored by gabime's avatar gabime

Fix #1340

parent 2698f54a
......@@ -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 {
......
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