Fixes for C++20 support.

Structs with user-declared constructors are no longer considered
aggregates.  Just remove the constructor declaration where applicable.

Bug: chromium:1284275
This commit is contained in:
Peter Kasting 2022-05-05 07:44:11 -07:00
parent 4fb146810c
commit 8b5b1ca96c

View File

@ -144,8 +144,6 @@ struct LEVELDB_EXPORT Options {
// Options that control read operations // Options that control read operations
struct LEVELDB_EXPORT ReadOptions { struct LEVELDB_EXPORT ReadOptions {
ReadOptions() = default;
// If true, all data read from underlying storage will be // If true, all data read from underlying storage will be
// verified against corresponding checksums. // verified against corresponding checksums.
bool verify_checksums = false; bool verify_checksums = false;