Merge pull request #2342 from espkk/v1.x

Make file_event_handlers an aggregate
This commit is contained in:
Gabi Melman 2022-04-15 12:22:35 +03:00 committed by GitHub
commit 4ccbb5a71a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {