mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Make file_event_handlers an aggregate
This commit is contained in:
parent
76fb40d954
commit
e6265c04ae
@ -311,12 +311,6 @@ struct file_event_handlers
|
|||||||
std::function<void(const filename_t &filename, std::FILE *file_stream)> after_open;
|
std::function<void(const filename_t &filename, std::FILE *file_stream)> after_open;
|
||||||
std::function<void(const filename_t &filename, std::FILE *file_stream)> before_close;
|
std::function<void(const filename_t &filename, std::FILE *file_stream)> before_close;
|
||||||
std::function<void(const filename_t &filename)> after_close;
|
std::function<void(const filename_t &filename)> after_close;
|
||||||
file_event_handlers()
|
|
||||||
: before_open{nullptr}
|
|
||||||
, after_open{nullptr}
|
|
||||||
, before_close{nullptr}
|
|
||||||
, after_close{nullptr}
|
|
||||||
{}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace details {
|
namespace details {
|
||||||
|
Loading…
Reference in New Issue
Block a user