From a6bab0e214b5f89235899c4a238d4f432a3a946b Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Wed, 23 Oct 2024 12:21:58 -0700 Subject: [PATCH] c10::nullopt -> std::nullopt Summary: X-link: https://github.com/pytorch/audio/pull/3848 X-link: https://github.com/pytorch/ao/pull/1151 X-link: https://github.com/facebookincubator/AITemplate/pull/1032 Reviewed By: houseroad Differential Revision: D64835967 --- runtime/core/exec_aten/exec_aten.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/core/exec_aten/exec_aten.h b/runtime/core/exec_aten/exec_aten.h index 84b918bf289..bfb47daa05d 100644 --- a/runtime/core/exec_aten/exec_aten.h +++ b/runtime/core/exec_aten/exec_aten.h @@ -61,8 +61,8 @@ template using ArrayRef = c10::ArrayRef; template using optional = std::optional; -using nullopt_t = c10::nullopt_t; -using c10::nullopt; +using nullopt_t = std::nullopt_t; +using std::nullopt; using ScalarType = at::ScalarType; using Scalar = c10::Scalar; using MemoryFormat = c10::MemoryFormat;