summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2022-08-26 22:49:16 -0400
committerNat Goodspeed <nat@lindenlab.com>2022-08-26 22:49:16 -0400
commit592abc460c96b63b1b1e0d15914f7b64a0c88038 (patch)
tree34ec4a7e045dd337cb068d50ccf2d31c3bb9dd75 /indra/newview
parent2dc4aec9936186eeaa0867745bb94168f569849b (diff)
DRTVWR-568: More cleanup of deleted obsolete std library features.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llgesturemgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp
index 489d34edca..c0f773968d 100644
--- a/indra/newview/llgesturemgr.cpp
+++ b/indra/newview/llgesturemgr.cpp
@@ -757,11 +757,11 @@ S32 LLGestureMgr::getPlayingCount() const
}
-struct IsGesturePlaying : public std::unary_function<LLMultiGesture*, bool>
+struct IsGesturePlaying
{
bool operator()(const LLMultiGesture* gesture) const
{
- return gesture->mPlaying ? true : false;
+ return bool(gesture->mPlaying);
}
};