fix vanilla compilation errors

pull/2814/head
drakbar 2 years ago
parent 533c7de07b
commit 7e87c8a94c

@ -781,7 +781,7 @@ public:
void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override
{
msg.color_range_stop = dest.size();
msg.color_range_end = dest.size();
}
};
#endif

@ -144,8 +144,6 @@ private:
custom_flags custom_handlers_;
std::tm get_time_(const details::log_msg &msg);
template<typename Padder>
void handle_flag_(char flag, details::padding_info padding, details::styling_info styling);
// Extract given pad spec (e.g. %8X)
// Advance the given it pass the end of the padding spec found (if any)
@ -153,11 +151,16 @@ private:
static details::padding_info handle_padspec_(std::string::const_iterator &it, std::string::const_iterator end);
#if !defined(_WIN32) && defined(SPDLOG_EXTENDED_STLYING)
template<typename Padder>
void handle_flag_(char flag, details::padding_info padding, details::styling_info styling);
// Extract given style spec (e.g. %{style}^X, %{style;style}^X, etc...)
// Advance the given it pass the end of the style spec found (if any)
// Return style.
static details::styling_info handle_stylespec_(std::string::const_iterator &it, std::string::const_iterator end);
#endif
template<typename Padder>
void handle_flag_(char flag, details::padding_info padding);
void compile_pattern_(const std::string &pattern);
};
} // namespace spdlog

Loading…
Cancel
Save