Skip to content

Commit 152e22d

Browse files
r-barnesfacebook-github-bot
authored andcommitted
c10::optional -> std::optional
Summary: `c10::optional` is an alias for `std::optional`. Let's remove the alias and use the real thing. Reviewed By: palmje Differential Revision: D63409372 fbshipit-source-id: 42ab1bbde312b78cb314ddd9234a43f678c03eda
1 parent 0d6a098 commit 152e22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernels/test/op_index_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class OpIndexTensorOutTest : public OperatorTest {
3333
OptTensorArrayRef indices,
3434
Tensor& out) {
3535
#ifdef USE_ATEN_LIB
36-
c10::List<c10::optional<at::Tensor>> indices_list(indices);
36+
c10::List<std::optional<at::Tensor>> indices_list(indices);
3737
return torch::executor::aten::index_outf(
3838
context_, input, indices_list, out);
3939
#else

0 commit comments

Comments
 (0)