fix gcc 4.8 compile warning

This commit is contained in:
Gabi Melman 2021-11-16 22:48:02 +02:00 committed by GitHub
parent 10b640d773
commit 24e47efae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,6 +308,7 @@ 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 {