Skip to content

Commit 727ea72

Browse files
committed
More fixes
Signed-off-by: Yuanyuan Chen <[email protected]>
1 parent f9e7275 commit 727ea72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/executor/tensor_parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ ET_NODISCARD Result<BoxedEvalueList<std::optional<T>>> parseListOptionalType(
8686
// copy assignment is not defined if its non trivial.
8787
if (index == -1) {
8888
new (&optional_tensor_list[output_idx])
89-
std::optional<T>(executorch::aten::nullopt);
89+
std::optional<T>(std::nullopt);
9090
// no value to point to. BoxedEvalueList for optional tensor will convert
9191
// this to nullopt.
9292
// TODO(T161156879): do something less hacky here.

0 commit comments

Comments
 (0)