diff options
author | Lars Næsbye Christensen <lars@naesbye.dk> | 2024-02-09 23:22:06 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-12 23:17:22 +0200 |
commit | 04a02e83e9dcc29d4649e8003d523621b5119d7b (patch) | |
tree | e547719b373673a9ffb5aa9c786a2c415f0014bb /indra/llcommon | |
parent | 5666681f85bc179f5abe3bbcbd87d294031549be (diff) |
misc: BOOL (int) to real bool
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llcallbacklist.cpp | 8 | ||||
-rw-r--r-- | indra/llcommon/llstring.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/indra/llcommon/llcallbacklist.cpp b/indra/llcommon/llcallbacklist.cpp index 9f23ce5317..4ccf08cbbb 100644 --- a/indra/llcommon/llcallbacklist.cpp +++ b/indra/llcommon/llcallbacklist.cpp @@ -70,11 +70,11 @@ bool LLCallbackList::containsFunction( callback_t func, void *data) callback_list_t::iterator iter = find(func,data); if (iter != mCallbackList.end()) { - return TRUE; + return true; } else { - return FALSE; + return false; } } @@ -85,11 +85,11 @@ bool LLCallbackList::deleteFunction( callback_t func, void *data) if (iter != mCallbackList.end()) { mCallbackList.erase(iter); - return TRUE; + return true; } else { - return FALSE; + return false; } } diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index 1fd6cac14a..66ee42af2a 100644 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -1598,12 +1598,12 @@ template<class T> BOOL LLStringUtilBase<T>::containsNonprintable(const string_type& string) { const char MIN = 32; - BOOL rv = FALSE; + BOOL rv = false; for (size_type i = 0; i < string.size(); i++) { if(string[i] < MIN) { - rv = TRUE; + rv = true; break; } } |