diff --git a/runtime/core/exec_aten/exec_aten.h b/runtime/core/exec_aten/exec_aten.h index 84b918bf28..bfb47daa05 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;