diff options
| author | Andrey Lihatskiy <118752495+marchcat@users.noreply.github.com> | 2025-12-23 14:24:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-23 14:24:17 +0200 |
| commit | f27b86c8fac5c1a9db93cd05aaf7480162006951 (patch) | |
| tree | 5969f6504786c0752c805bc833d6aef513a8387f /indra/newview/llcallbacklist.cpp | |
| parent | 9f9df3e55e4994cc2942a8e19c267b793e61cfb1 (diff) | |
| parent | 259d28cd788cb6150cffde8f11cde2887c2e3bcb (diff) | |
Merge pull request #5185 from secondlife/marchcat/slua-linux
Update SLua editor with recent Linux branch changes
Diffstat (limited to 'indra/newview/llcallbacklist.cpp')
| -rw-r--r-- | indra/newview/llcallbacklist.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llcallbacklist.cpp b/indra/newview/llcallbacklist.cpp index c474f2885b..1e596624b9 100644 --- a/indra/newview/llcallbacklist.cpp +++ b/indra/newview/llcallbacklist.cpp @@ -70,33 +70,33 @@ void LLCallbackList::addFunction( callback_t func, void *data) } -BOOL LLCallbackList::containsFunction( callback_t func, void *data) +bool LLCallbackList::containsFunction( callback_t func, void *data) { callback_pair_t t(func, data); callback_list_t::iterator iter = std::find(mCallbackList.begin(), mCallbackList.end(), t); if (iter != mCallbackList.end()) { - return TRUE; + return true; } else { - return FALSE; + return false; } } -BOOL LLCallbackList::deleteFunction( callback_t func, void *data) +bool LLCallbackList::deleteFunction( callback_t func, void *data) { callback_pair_t t(func, data); callback_list_t::iterator iter = std::find(mCallbackList.begin(), mCallbackList.end(), t); if (iter != mCallbackList.end()) { mCallbackList.erase(iter); - return TRUE; + return true; } else { - return FALSE; + return false; } } |
