mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Fix formatting and naming
This commit is contained in:
parent
91014f0171
commit
a38bd9ca24
@ -1106,11 +1106,11 @@ struct string_value {
|
|||||||
|
|
||||||
template <typename Char>
|
template <typename Char>
|
||||||
struct custom_value {
|
struct custom_value {
|
||||||
typedef void (*FormatFunc)(
|
typedef void (*format_func)(
|
||||||
basic_buffer<Char> &buffer, const void *arg, void *ctx);
|
basic_buffer<Char> &buffer, const void *arg, void *ctx);
|
||||||
|
|
||||||
const void *value;
|
const void *value;
|
||||||
FormatFunc format;
|
format_func format;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Char>
|
template <typename Char>
|
||||||
@ -3050,7 +3050,7 @@ class custom_formatter {
|
|||||||
Context &ctx_;
|
Context &ctx_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
custom_formatter(basic_buffer<Char> &buffer,Context &ctx)
|
custom_formatter(basic_buffer<Char> &buffer, Context &ctx)
|
||||||
: buffer_(buffer), ctx_(ctx) {}
|
: buffer_(buffer), ctx_(ctx) {}
|
||||||
|
|
||||||
bool operator()(internal::custom_value<Char> custom) {
|
bool operator()(internal::custom_value<Char> custom) {
|
||||||
|
Loading…
Reference in New Issue
Block a user