From 694fb6b1fd06d09a09203673a2233cb868b4512e Mon Sep 17 00:00:00 2001 From: CJ Cobb Date: Thu, 14 Oct 2021 16:31:18 -0400 Subject: [PATCH] fix gcc 9.3 compilation issue --- src/backend/BackendInterface.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/backend/BackendInterface.h b/src/backend/BackendInterface.h index 576a4bfb..27a71e6b 100644 --- a/src/backend/BackendInterface.h +++ b/src/backend/BackendInterface.h @@ -38,7 +38,11 @@ struct TransactionAndMetadata uint32_t ledgerSequence; uint32_t date; bool - operator==(const TransactionAndMetadata&) const = default; + operator==(const TransactionAndMetadata& other) const + { + return transaction == other.transaction && metadata == other.metadata && + ledgerSequence == other.ledgerSequence && date == other.date; + } }; struct AccountTransactionsCursor