summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kasting <pkasting@chromium.org>2022-05-05 07:44:11 -0700
committerPeter Kasting <pkasting@chromium.org>2022-05-05 07:44:11 -0700
commit8b5b1ca96c3b03fac7b1755e4ea73145d6213c30 (patch)
tree35720fc09614a6cc69c2db7294f76390ea19bf44
parent4fb146810cd265ffefa7f9905c016ae965ad36c8 (diff)
downloadleveldb-8b5b1ca96c3b03fac7b1755e4ea73145d6213c30.tar.gz
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
-rw-r--r--include/leveldb/options.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/leveldb/options.h b/include/leveldb/options.h
index 0f285bc..97c6b0b 100644
--- a/include/leveldb/options.h
+++ b/include/leveldb/options.h
@@ -144,8 +144,6 @@ struct LEVELDB_EXPORT Options {
// Options that control read operations
struct LEVELDB_EXPORT ReadOptions {
- ReadOptions() = default;
-
// If true, all data read from underlying storage will be
// verified against corresponding checksums.
bool verify_checksums = false;