fix: Use std::ranges::find
instead of std::ranges::contains
for now
This commit is contained in:
parent
edf047dde8
commit
696612385a
@ -465,7 +465,8 @@ namespace hex::plugin::builtin {
|
||||
auto &tabProvider = providers[i];
|
||||
const auto selectedProviderIndex = ImHexApi::Provider::getCurrentProviderIndex();
|
||||
|
||||
if (std::ranges::contains(ImHexApi::Provider::impl::getClosingProviders(), tabProvider))
|
||||
const auto &closingProviders = ImHexApi::Provider::impl::getClosingProviders();
|
||||
if (std::ranges::find(closingProviders, tabProvider) != closingProviders.end())
|
||||
continue;
|
||||
|
||||
bool open = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user