From f25b5d7f8d73ee8d9db826932f3c4455b685c6f2 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 3 Dec 2019 10:28:29 -0600 Subject: [PATCH] st/gui: clang-tidy --- src/xrt/state_trackers/gui/gui_scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/gui/gui_scene.cpp b/src/xrt/state_trackers/gui/gui_scene.cpp index e4fbc32c8..db31b315a 100644 --- a/src/xrt/state_trackers/gui/gui_scene.cpp +++ b/src/xrt/state_trackers/gui/gui_scene.cpp @@ -77,7 +77,7 @@ gui_scene_manager_render(struct gui_program *p) } // If there are no scenes left stop the program. - if (gsm.scenes.size() == 0) { + if (gsm.scenes.empty()) { p->stopped = true; } }