Skip to content

Commit

Permalink
Remove fallthrough attribute
Browse files Browse the repository at this point in the history
Summary: [[fallthrough]] is C++17.

Reviewed By: dulinriley

Differential Revision: D23288822

fbshipit-source-id: 6f8297864ca11e86b3fded6c1fa9a3ca12db8ba9
  • Loading branch information
[email protected] authored and facebook-github-bot committed Aug 24, 2020
1 parent 55c0607 commit 01c94b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/VM/gcs/HadesGC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,7 @@ void HadesGC::updateWeakReferencesForYoungGen() {
// Set all allocated slots to unmarked.
slot.unmark();
}
[[fallthrough]];
// fallthrough
case WeakSlotState::Unmarked: {
// Both marked and unmarked weak ref slots need to be updated.
if (!slot.hasPointer()) {
Expand Down

0 comments on commit 01c94b4

Please sign in to comment.