From 72a7eba18aebe38563eea2a47f8199e6687d6692 Mon Sep 17 00:00:00 2001 From: James Horsley Date: Fri, 30 Jun 2023 02:59:30 +0100 Subject: [PATCH] Switch from deprecated tbb::atomic to std::atomic Signed-off-by: James Horsley --- cmd/moonray_gui/RenderGui.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/moonray_gui/RenderGui.h b/cmd/moonray_gui/RenderGui.h index caf5694..fcb15ce 100644 --- a/cmd/moonray_gui/RenderGui.h +++ b/cmd/moonray_gui/RenderGui.h @@ -9,8 +9,6 @@ #include #include -#include - #define NUM_TILE_FADE_STEPS 4 namespace moonray_gui { @@ -119,7 +117,7 @@ class RenderGui /// The renderering code will strive to render this frame. If it's rendering /// a frame with a lower timestamp then we know the frame it's currently /// rendering is old. - tbb::atomic mMasterTimestamp; + std::atomic mMasterTimestamp; /// The timestamp of the frame the renderer is currently processing. uint32_t mRenderTimestamp;