Skip to content

Commit

Permalink
Use C++17 [[fallthrough]] in 1 file inc mcrouter/lib/network/AsyncMcC…
Browse files Browse the repository at this point in the history
…lientImpl.cpp

Reviewed By: bunnypak

Differential Revision: D51778167

fbshipit-source-id: 5a8b79d4f6249071f67376b4c09646bce85d168e
  • Loading branch information
r-barnes authored and facebook-github-bot committed Dec 2, 2023
1 parent db168f7 commit 9483e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcrouter/lib/network/AsyncMcClientImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ void AsyncMcClientImpl::processShutdown(folly::StringPiece errorMessage) {
// We can safely close connection, it will stop all writes.
socket_->close();

/* fallthrough */
[[fallthrough]];

case ConnectionState::Error:
queue_.failAllSent(
Expand Down

0 comments on commit 9483e79

Please sign in to comment.