From 3ed3a331c6813ef0104670f72a406d4f4d3d8b68 Mon Sep 17 00:00:00 2001 From: Peter Klausler Date: Mon, 14 Jul 2025 14:06:24 -0700 Subject: [PATCH] [flang][runtime] Fix bad instance of std::optional in runtime The runtime needs to use common::optional, not std::optional. --- flang-rt/include/flang-rt/runtime/work-queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flang-rt/include/flang-rt/runtime/work-queue.h b/flang-rt/include/flang-rt/runtime/work-queue.h index 5b866cde08a3c..7d7f8ad991a57 100644 --- a/flang-rt/include/flang-rt/runtime/work-queue.h +++ b/flang-rt/include/flang-rt/runtime/work-queue.h @@ -307,7 +307,7 @@ class DestroyTicket : public ImmediateTicketRunner, private: bool finalize_{false}; - std::optional fixedStride_; + common::optional fixedStride_; }; // Implements general intrinsic assignment