| 21 | } |
| 22 | |
| 23 | [[gnu::pure]] |
| 24 | static bool |
| 25 | SetContains(const auto &set, const auto &key) noexcept |
| 26 | { |
| 27 | #ifdef ANDROID |
| 28 | /* the libc++ version in Android NDK r25c doesn't implement |
| 29 | std::set::contains() */ |
| 30 | return set.find(key) != set.end(); |
| 31 | #else |
| 32 | return set.contains(key); |
| 33 | #endif |
| 34 | } |
| 35 | |
| 36 | bool |
| 37 | DecoderPlugin::SupportsSuffix(std::string_view suffix) const noexcept |