From 6e3e34b0883e1dd9c137cd284af4286ed85625d3 Mon Sep 17 00:00:00 2001 From: Denis Yaroshevskiy Date: Tue, 13 Jan 2026 07:46:50 -0800 Subject: [PATCH] trying to delete things Differential Revision: D90583288 --- folly/Optional.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/folly/Optional.h b/folly/Optional.h index 066a732f98f..62a49cc6d05 100644 --- a/folly/Optional.h +++ b/folly/Optional.h @@ -174,12 +174,6 @@ class Optional { Args...>::value) : Optional{PrivateConstructor{}, il, std::forward(args)...} {} - // Used only when an Optional is used with coroutines on MSVC - /* implicit */ Optional(const detail::OptionalPromiseReturn& p) - : Optional{} { - p.promise_->value_ = this; - } - // Conversions to ease migration to std::optional /// Allow construction of Optional from std::optional.