Skip to content

Commit

Permalink
migrate from FOLLY_FALLTHROUGH to [[fallthrough]] (assorted)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebookincubator/velox#8586

The attribute `[[fallthrough]]` is standard C++17. We no longer need to wrap it.

Reviewed By: jbeshay, Orvid

Differential Revision: D53034073

fbshipit-source-id: 9bf155ffa0e6f797cbce8d63d582c70777c1105e
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Jan 29, 2024
1 parent 33ef06e commit f8b96f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openr/nl/NetlinkProtocolSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ NetlinkProtocolSocket::addRoute(const openr::fbnl::Route& route) {
// NOTE: We ignore the error for the deleteRoute
deleteRoute(route);
}
FOLLY_FALLTHROUGH;
[[fallthrough]];
case AF_INET:
status = rtmMsg->addRoute(route);
break;
Expand Down

0 comments on commit f8b96f7

Please sign in to comment.