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,12 +5,12 @@
|
|||
#ifndef ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/functional/callback_forward.h"
|
||||
#include "base/memory/raw_ptr_exclusion.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
#include "ui/gfx/image/image_skia.h"
|
||||
|
||||
namespace electron {
|
||||
|
@ -29,7 +29,7 @@ struct MessageBoxSettings {
|
|||
RAW_PTR_EXCLUSION electron::NativeWindow* parent_window = nullptr;
|
||||
MessageBoxType type = electron::MessageBoxType::kNone;
|
||||
std::vector<std::string> buttons;
|
||||
absl::optional<int> id;
|
||||
std::optional<int> id;
|
||||
int default_id;
|
||||
int cancel_id;
|
||||
bool no_link = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue