summaryrefslogtreecommitdiff
path: root/indra/newview/llwatchdog.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2021-09-28 19:07:48 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-09-28 19:22:18 +0300
commitadcd08fbf4d96f8f52cef81895bda202c9e45896 (patch)
tree3e8643d7d2b19c86d723c79042e8b528a9508dd1 /indra/newview/llwatchdog.cpp
parente3b869e6f12a9d285ca3db4a2e7f4f0fa1ff8b26 (diff)
Revert "Merge branch 'c++17' into DRTVWR-522-maint"
This reverts commit 203ea3a70a775a09cbbffb1740ab7c58f1780baa, reversing changes made to 8e3f0778863a5aa337d1148a243ea91d238a8ac5. # Conflicts: # indra/newview/llmachineid.cpp
Diffstat (limited to 'indra/newview/llwatchdog.cpp')
-rw-r--r--indra/newview/llwatchdog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llwatchdog.cpp b/indra/newview/llwatchdog.cpp
index a3036ff6d0..0aa0280b25 100644
--- a/indra/newview/llwatchdog.cpp
+++ b/indra/newview/llwatchdog.cpp
@@ -224,7 +224,7 @@ void LLWatchdog::run()
LL_INFOS() << "Watchdog thread delayed: resetting entries." << LL_ENDL;
std::for_each(mSuspects.begin(),
mSuspects.end(),
- [](SuspectsRegistry::value_type suspect){ suspect->reset(); }
+ std::mem_fun(&LLWatchdogEntry::reset)
);
}
else
@@ -232,7 +232,7 @@ void LLWatchdog::run()
SuspectsRegistry::iterator result =
std::find_if(mSuspects.begin(),
mSuspects.end(),
- [](SuspectsRegistry::value_type suspect){ return ! suspect->isAlive(); }
+ std::not1(std::mem_fun(&LLWatchdogEntry::isAlive))
);
if(result != mSuspects.end())
{