Skip to content

Commit 1ecc666

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Fix unused-typedef issue in mcrouter/routes/test/RouteHandleTestUtil.h +1
Summary: LLVM has a warning `-Wunused-local-typedef` which we treat as an error because it identifies unused code which can cause otherwise unused includes to unnecessarily persist leading to longer build times. For questions/comments, contact r-barnes. - If you approve of this diff, please use the "Accept & Ship" button :-) Reviewed By: dtolnay Differential Revision: D77413733 fbshipit-source-id: d481f640af5df3b5602f8a7966fbb629122f511a
1 parent 2d4fdd9 commit 1ecc666

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

third-party/mcrouter/src/mcrouter/routes/test/RouteHandleTestUtil.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ inline void mockFiberContext() {
6161
template <class RouterInfo = McrouterRouterInfo>
6262
void setRecordBucketDataContext(
6363
std::vector<std::pair<std::string, std::string>>& pairs) {
64-
using KeyBucketPair = std::pair<std::string, std::string>;
6564
auto cb = [&pairs](
6665
std::string key,
6766
const uint64_t bucket,

0 commit comments

Comments
 (0)