Skip to content

Commit 40ceaf1

Browse files
authored
[flang][runtime] Fix bad instance of std::optional in runtime (#148724)
The runtime needs to use common::optional, not std::optional.
1 parent 92ef8e3 commit 40ceaf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang-rt/include/flang-rt/runtime/work-queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class DestroyTicket : public ImmediateTicketRunner<DestroyTicket>,
307307

308308
private:
309309
bool finalize_{false};
310-
std::optional<SubscriptValue> fixedStride_;
310+
common::optional<SubscriptValue> fixedStride_;
311311
};
312312

313313
// Implements general intrinsic assignment

0 commit comments

Comments
 (0)