diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-02-17 00:51:13 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-17 20:45:34 +0200 |
commit | 088f2f4f6545ebc2ee01945938a40ae5c87ad27a (patch) | |
tree | d5638d04461f3a549f398ead86076069bced9ff9 /indra/newview/llvotree.cpp | |
parent | 17cb28ec2b4f290f7492eb9c765be114b0cd435f (diff) |
More BOOL to bool replacements primarily in llappearance and llxml
Diffstat (limited to 'indra/newview/llvotree.cpp')
-rw-r--r-- | indra/newview/llvotree.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/newview/llvotree.cpp b/indra/newview/llvotree.cpp index 575b1dbe7e..cf7206d2da 100644 --- a/indra/newview/llvotree.cpp +++ b/indra/newview/llvotree.cpp @@ -135,10 +135,7 @@ void LLVOTree::initClass() LLUUID id; S32 S32_val; - BOOL success = TRUE; - - - + bool success{ true }; S32 species; static LLStdStringHandle species_id_string = LLXmlTree::addAttributeString("species_id"); if (!tree_def->getFastAttributeS32(species_id_string, species)) @@ -250,7 +247,7 @@ void LLVOTree::initClass() } } - BOOL have_all_trees = TRUE; + bool have_all_trees {true}; std::string err; for (S32 i=0;i<sMaxTreeSpecies;++i) @@ -258,7 +255,7 @@ void LLVOTree::initClass() if (!sSpeciesTable.count(i)) { err.append(llformat(" %d",i)); - have_all_trees = FALSE; + have_all_trees = false; } } |