Skip to content

Commit 9014bed

Browse files
r-barnesfacebook-github-bot
authored andcommitted
c10::optional -> std::optional in executorch/runtime/core/exec_aten/exec_aten.h
Summary: `c10::optional` is just an alias for `std::optional`. We are removing that alias, so we need to fix all instances where it is used. Differential Revision: D64648339
1 parent af13be9 commit 9014bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/core/exec_aten/exec_aten.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ using string_view = c10::string_view;
6060
template <typename T>
6161
using ArrayRef = c10::ArrayRef<T>;
6262
template <typename T>
63-
using optional = c10::optional<T>;
63+
using optional = std::optional<T>;
6464
using nullopt_t = c10::nullopt_t;
6565
using c10::nullopt;
6666
using ScalarType = at::ScalarType;

0 commit comments

Comments
 (0)