drm_hwcomposer: CI: Raise clang-tidy level from NONE to COARSE for *.h
To improve CI coverage.
Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
diff --git a/include/drmhwcomposer.h b/include/drmhwcomposer.h
index d02445b..75a5b39 100644
--- a/include/drmhwcomposer.h
+++ b/include/drmhwcomposer.h
@@ -19,9 +19,9 @@
#include <hardware/hardware.h>
#include <hardware/hwcomposer.h>
-#include <stdbool.h>
-#include <stdint.h>
+#include <cstdbool>
+#include <cstdint>
#include <vector>
#include "drm/DrmFbImporter.h"
@@ -61,7 +61,7 @@
};
struct DrmHwcLayer {
- buffer_handle_t sf_handle = NULL;
+ buffer_handle_t sf_handle = nullptr;
hwc_drm_bo_t buffer_info{};
std::shared_ptr<DrmFbIdHandle> FbIdHandle;