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,9 +5,10 @@
|
|||
#ifndef ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_
|
||||
#define ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "shell/common/asar/archive.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
namespace base {
|
||||
class File;
|
||||
|
@ -34,7 +35,7 @@ class ScopedTemporaryFile {
|
|||
const base::FilePath::StringType& ext,
|
||||
uint64_t offset,
|
||||
uint64_t size,
|
||||
const absl::optional<IntegrityPayload>& integrity);
|
||||
const std::optional<IntegrityPayload>& integrity);
|
||||
|
||||
base::FilePath path() const { return path_; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue