From 0382fcb22b40e9f8b94b9ea3fc41716b011d5162 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 23 Nov 2021 17:23:07 +0000 Subject: android: Convert to pragma once Remove the verbose #ifndef/#define/#endif pattern for maintaining header idempotency, and replace it with a simple #pragma once. This simplifies the headers, and prevents redundant changes when header files get moved. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Jean-Michel Hautbois --- src/android/post_processor.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/android/post_processor.h') diff --git a/src/android/post_processor.h b/src/android/post_processor.h index 5ec71c93..1a205b05 100644 --- a/src/android/post_processor.h +++ b/src/android/post_processor.h @@ -4,8 +4,8 @@ * * post_processor.h - CameraStream Post Processing Interface */ -#ifndef __ANDROID_POST_PROCESSOR_H__ -#define __ANDROID_POST_PROCESSOR_H__ + +#pragma once #include @@ -31,5 +31,3 @@ public: libcamera::Signal processComplete; }; - -#endif /* __ANDROID_POST_PROCESSOR_H__ */ -- cgit v1.2.1