From 2ee2eeb01b1935c5ccab36d64ade1033fef1ed00 Mon Sep 17 00:00:00 2001 From: Jonathan McCue Date: Thu, 13 Feb 2025 13:53:09 -0800 Subject: [PATCH] Enable -Wdeprecated compiler flag Summary: This flag disallows deprecated features. The ones that needed to be fixed in this diff are a couple of out-of-line constexpr definitions and including whitespace before a literal operator declaration. Differential Revision: D69157574 fbshipit-source-id: b6a3d2f1a76f919dc854bf582969238485ce7aa0 --- mcrouter/lib/carbon/RequestReplyUtil.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mcrouter/lib/carbon/RequestReplyUtil.h b/mcrouter/lib/carbon/RequestReplyUtil.h index fcd066b78..9112c3ac2 100644 --- a/mcrouter/lib/carbon/RequestReplyUtil.h +++ b/mcrouter/lib/carbon/RequestReplyUtil.h @@ -392,12 +392,6 @@ class RequestIdMap { std::array container_; }; -template -constexpr size_t RequestIdMap::kMinId; - -template -constexpr size_t RequestIdMap::kMaxId; - namespace detail { /**