Replace FBString's assume_unreachable with folly::assume_unreachable (#1079)
Summary: - Instead of defining a separate `assume_unreachable` wrapper macro for support on different compilers, use the one directly from `folly/lang/Assume.h` which is spelled `folly::assume_unreachable`. - Since the `assume_unreachable` wrapper in `FBString.h` was the only thing using FBString's wrapper around `always_inline` for various compilers as well, we can remove that as well. Pull Request resolved: https://github.com/facebook/folly/pull/1079 Reviewed By: yfeldblum Differential Revision: D14605330 Pulled By: Orvid fbshipit-source-id: ec5529d8913fcec0a7eb03bce006d8fec71d525b
Showing
Please register or sign in to comment