From 6aa838d3311527ee4bac223091c00bf26bec3cda Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Sun, 26 Sep 2021 23:33:18 +0300 Subject: simple-cam: Turn globals static This fixes a warning from QtCreator. Signed-off-by: Dorota Czaplejewicz Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Paul Elder Signed-off-by: Kieran Bingham --- simple-cam.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simple-cam.cpp b/simple-cam.cpp index 1a60602..ff7b440 100644 --- a/simple-cam.cpp +++ b/simple-cam.cpp @@ -16,8 +16,8 @@ #define TIMEOUT_SEC 3 using namespace libcamera; -std::shared_ptr camera; -EventLoop loop; +static std::shared_ptr camera; +static EventLoop loop; /* * -------------------------------------------------------------------- -- cgit v1.2.1