Style: Apply clang-tidy fixes (superficial)

• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
This commit is contained in:
Thaddeus Crews 2024-06-21 11:21:18 -05:00
parent 89a311205f
commit bb5f390fb9
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
46 changed files with 126 additions and 102 deletions

View file

@ -2752,8 +2752,9 @@ void OpenXRAPI::parse_velocities(const XrSpaceVelocity &p_velocity, Vector3 &r_l
}
bool OpenXRAPI::xr_result(XrResult result, const char *format, Array args) const {
if (XR_SUCCEEDED(result))
if (XR_SUCCEEDED(result)) {
return true;
}
char resultString[XR_MAX_RESULT_STRING_SIZE];
xrResultToString(instance, result, resultString);