summaryrefslogtreecommitdiff
path: root/indra/llmessage/lluseroperation.cpp
diff options
context:
space:
mode:
authorLars Næsbye Christensen <lars@naesbye.dk>2024-02-18 16:41:22 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-18 22:04:44 +0200
commitf1c97f4057833220a2e9ac045d701208e30457d1 (patch)
tree1b41e67347d15b1ad4e4e0ca47e0b6c7c0fd8a52 /indra/llmessage/lluseroperation.cpp
parent2817d6c67d65bee9cae8f0d77e229ccf8eaa286f (diff)
misc: BOOL to bool
Diffstat (limited to 'indra/llmessage/lluseroperation.cpp')
-rw-r--r--indra/llmessage/lluseroperation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llmessage/lluseroperation.cpp b/indra/llmessage/lluseroperation.cpp
index c506af19ce..d56997c7de 100644
--- a/indra/llmessage/lluseroperation.cpp
+++ b/indra/llmessage/lluseroperation.cpp
@@ -72,14 +72,14 @@ void LLUserOperation::SetNoExpireFlag(const BOOL flag)
mNoExpire = flag;
}
-BOOL LLUserOperation::isExpired()
+bool LLUserOperation::isExpired()
{
if (!mNoExpire)
{
const F32 EXPIRE_TIME_SECS = 10.f;
return mTimer.getElapsedTimeF32() > EXPIRE_TIME_SECS;
}
- return FALSE;
+ return false;
}
void LLUserOperation::expire()
@@ -128,7 +128,7 @@ LLUserOperation* LLUserOperationMgr::findOperation(const LLUUID& tid)
}
-BOOL LLUserOperationMgr::deleteOperation(LLUserOperation* op)
+bool LLUserOperationMgr::deleteOperation(LLUserOperation* op)
{
size_t rv = 0;
if(op)
@@ -138,7 +138,7 @@ BOOL LLUserOperationMgr::deleteOperation(LLUserOperation* op)
delete op;
op = NULL;
}
- return rv ? TRUE : FALSE;
+ return rv ? true : false;
}
void LLUserOperationMgr::deleteExpiredOperations()