From bb5f390fb9b466be35a5df7651323d7e66afca31 Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Fri, 21 Jun 2024 11:21:18 -0500 Subject: Style: Apply `clang-tidy` fixes (superficial) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements` --- modules/openxr/openxr_api.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/openxr/openxr_api.cpp') diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index 715d24cfd9..a6fd727290 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -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); -- cgit v1.2.3