diff --git a/hidl/livedisplay/include/livedisplay/oplus/AntiFlicker.h b/hidl/livedisplay/include/livedisplay/oplus/AntiFlicker.h index aab7edf..920475a 100644 --- a/hidl/livedisplay/include/livedisplay/oplus/AntiFlicker.h +++ b/hidl/livedisplay/include/livedisplay/oplus/AntiFlicker.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 The LineageOS Project + * Copyright (C) 2021-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_1_ANTIFLICKER_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_1_ANTIFLICKER_H +#pragma once #include #include @@ -43,5 +42,3 @@ class AntiFlicker : public IAntiFlicker { } // namespace livedisplay } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_1_ANTIFLICKER_H diff --git a/hidl/livedisplay/include/livedisplay/oplus/SunlightEnhancement.h b/hidl/livedisplay/include/livedisplay/oplus/SunlightEnhancement.h index cc6528a..877334b 100644 --- a/hidl/livedisplay/include/livedisplay/oplus/SunlightEnhancement.h +++ b/hidl/livedisplay/include/livedisplay/oplus/SunlightEnhancement.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2021 The LineageOS Project + * Copyright (C) 2019-2022 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef VENDOR_LINEAGE_LIVEDISPLAY_V2_1_SUNLIGHTENHANCEMENT_H -#define VENDOR_LINEAGE_LIVEDISPLAY_V2_1_SUNLIGHTENHANCEMENT_H +#pragma once #include #include @@ -43,5 +42,3 @@ class SunlightEnhancement : public ISunlightEnhancement { } // namespace livedisplay } // namespace lineage } // namespace vendor - -#endif // VENDOR_LINEAGE_LIVEDISPLAY_V2_1_SUNLIGHTENHANCEMENT_H