diff options
Diffstat (limited to 'abs32_utils.h')
-rw-r--r-- | abs32_utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/abs32_utils.h b/abs32_utils.h index 5bc9cf2..f13f562 100644 --- a/abs32_utils.h +++ b/abs32_utils.h @@ -11,10 +11,10 @@ #include <vector> #include "base/macros.h" -#include "base/optional.h" #include "components/zucchini/address_translator.h" #include "components/zucchini/buffer_view.h" #include "components/zucchini/image_utils.h" +#include "third_party/abseil-cpp/absl/types/optional.h" namespace zucchini { @@ -78,8 +78,8 @@ class Abs32RvaExtractorWin32 { ~Abs32RvaExtractorWin32(); // Visits given abs32 locations, rejects invalid locations and non-existent - // RVAs, and returns reference as Unit, or base::nullopt on completion. - base::Optional<Unit> GetNext(); + // RVAs, and returns reference as Unit, or absl::nullopt on completion. + absl::optional<Unit> GetNext(); private: ConstBufferView image_; @@ -97,7 +97,7 @@ class Abs32ReaderWin32 : public ReferenceReader { ~Abs32ReaderWin32() override; // ReferenceReader: - base::Optional<Reference> GetNext() override; + absl::optional<Reference> GetNext() override; private: Abs32RvaExtractorWin32 abs32_rva_extractor_; |