From 8b5b1ca96c3b03fac7b1755e4ea73145d6213c30 Mon Sep 17 00:00:00 2001 From: Peter Kasting Date: Thu, 5 May 2022 07:44:11 -0700 Subject: 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 --- include/leveldb/options.h | 2 -- 1 file changed, 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; -- cgit v1.2.1