Skip to content

Commit

Permalink
Merge pull request #2342 from espkk/v1.x
Browse files Browse the repository at this point in the history
Make file_event_handlers an aggregate
  • Loading branch information
gabime committed Apr 15, 2022
2 parents 76fb40d + e6265c0 commit 4ccbb5a
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 4ccbb5a

Please sign in to comment.