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 3b1916f commit ee1bbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxygen/lib/http/session/HQByteEventTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void HQByteEventTracker::onByteEventWrittenToSocket(const ByteEvent& event) {
const auto& streamOffset = event.getByteOffset();
switch (event.eventType_) {
case ByteEvent::FIRST_BYTE:
FOLLY_FALLTHROUGH;
[[fallthrough]];
case ByteEvent::LAST_BYTE: {
// install TX callback
{
Expand Down

0 comments on commit ee1bbaf

Please sign in to comment.