From 231544e72f2889e8b25929530a6f70b66225a6de Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Mon, 9 Nov 2020 02:43:52 -0500 Subject: [PATCH] Fix c++17 deprecation warning --- indra/newview/llwatchdog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llwatchdog.cpp b/indra/newview/llwatchdog.cpp index 6a67eaedc30..9931cbf66ca 100644 --- a/indra/newview/llwatchdog.cpp +++ b/indra/newview/llwatchdog.cpp @@ -242,8 +242,8 @@ void LLWatchdog::run() { SuspectsRegistry::iterator result = std::find_if(mSuspects.begin(), - mSuspects.end(), - std::not1(std::mem_fn(&LLWatchdogEntry::isAlive)) + mSuspects.end(), + [](LLWatchdogEntry* entry){ return !entry->isAlive(); } ); if(result != mSuspects.end()) { -- GitLab