Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid default when switching on UnitType (facebook#46146)
Summary: Pull Request resolved: facebook#46146 Changelog: [Internal] `unit` is of type `UnitType`, so there's no reason to have a default case here. i found this because my build failed when pulling in this dependency, there was a compiler flag that enforced that all cases must be enumerated. this seems like the right practice anyways. Reviewed By: NickGerleman Differential Revision: D61635463 fbshipit-source-id: b84b5518f2a17e792309f85ae91514a17abad295
- Loading branch information