Skip to content

Commit

Permalink
Enable -Wdeprecated compiler flag
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jonathan McCue authored and facebook-github-bot committed Feb 13, 2025
1 parent 60e4273 commit 2ee2eeb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mcrouter/lib/carbon/RequestReplyUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,6 @@ class RequestIdMap {
std::array<T, kSize> container_;
};

template <class RequestList, class T>
constexpr size_t RequestIdMap<RequestList, T>::kMinId;

template <class RequestList, class T>
constexpr size_t RequestIdMap<RequestList, T>::kMaxId;

namespace detail {

/**
Expand Down

0 comments on commit 2ee2eeb

Please sign in to comment.