Open marchcat opened 2 weeks ago
After replacing the BOOL macros with the proper bool type, we still have multiple occurrences of now-redundant code involving ternary operations. For example:
BOOL
bool
void LLFloaterEmojiPicker::showPreview(bool show) { //mPreview->setIcon(nullptr); mDummy->setVisible(show ? false : true); mPreview->setVisible(show ? true : false); }
They should be updated to reflect the correct boolean type.
Non-testable. Build exists = accept.
Fixed in https://github.com/secondlife/viewer/pull/1416
After replacing the
BOOL
macros with the properbool
type, we still have multiple occurrences of now-redundant code involving ternary operations. For example:They should be updated to reflect the correct boolean type.
Test Plan
Non-testable. Build exists = accept.