Skip to content

Commit

Permalink
Make file_event_handlers an aggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
espkk committed Apr 15, 2022
1 parent 76fb40d commit e6265c0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/spdlog/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)> before_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 {
Expand Down

0 comments on commit e6265c0

Please sign in to comment.