chore: replace absl::optional<T> with std::optional<T> (#40928)
* chore: replace absl::optional<T> with std::optional<T> * IWYU
This commit is contained in:
parent
fac964ac0d
commit
892c9d78a3
129 changed files with 419 additions and 397 deletions
|
@ -5,13 +5,13 @@
|
|||
#ifndef ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/functional/callback.h"
|
||||
#include "base/memory/raw_ptr_exclusion.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
#if defined(__OBJC__)
|
||||
@class InAppTransactionObserver;
|
||||
|
@ -39,7 +39,7 @@ struct Payment {
|
|||
std::string productIdentifier = "";
|
||||
int quantity = 1;
|
||||
std::string applicationUsername;
|
||||
absl::optional<PaymentDiscount> paymentDiscount;
|
||||
std::optional<PaymentDiscount> paymentDiscount;
|
||||
|
||||
Payment();
|
||||
Payment(const Payment&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue