Skip to content
Snippets Groups Projects
Commit 231544e7 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix c++17 deprecation warning

parent 278b6b68
No related branches found
No related tags found
No related merge requests found
...@@ -242,8 +242,8 @@ void LLWatchdog::run() ...@@ -242,8 +242,8 @@ void LLWatchdog::run()
{ {
SuspectsRegistry::iterator result = SuspectsRegistry::iterator result =
std::find_if(mSuspects.begin(), std::find_if(mSuspects.begin(),
mSuspects.end(), mSuspects.end(),
std::not1(std::mem_fn(&LLWatchdogEntry::isAlive)) [](LLWatchdogEntry* entry){ return !entry->isAlive(); }
); );
if(result != mSuspects.end()) if(result != mSuspects.end())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment