Browse Source

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
pull/1/head
Peter Kasting 2 years ago
parent
commit
8b5b1ca96c
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      include/leveldb/options.h

+ 0
- 2
include/leveldb/options.h 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;

Loading…
Cancel
Save