Skip to content

Commit 8c50aef

Browse files
r-barnesmeta-codesync[bot]
authored andcommitted
Extirpate FOLLY_CONSTEVAL from folly/futures/Promise.h
Summary: All code should be on C++20 now. Reviewed By: yfeldblum Differential Revision: D88981912 fbshipit-source-id: aacfea08e0f3d15abce6b370122a0bc7631fa8fe
1 parent cce5117 commit 8c50aef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

third-party/folly/src/folly/futures/Promise.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class FOLLY_EXPORT FutureAlreadyRetrieved : public PromiseException {
5858
class FOLLY_EXPORT BrokenPromise : public PromiseException {
5959
private:
6060
template <typename T>
61-
static FOLLY_CONSTEVAL auto make_error_message() {
61+
static consteval auto make_error_message() {
6262
constexpr auto prefix =
6363
detail::pretty_carray_from("Broken promise for type name `");
6464
constexpr auto prefix_size = std::size(prefix.data);

0 commit comments

Comments
 (0)