aboutsummaryrefslogtreecommitdiff
path: root/hwc2_device/HwcLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwc2_device/HwcLayer.h')
-rw-r--r--hwc2_device/HwcLayer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/hwc2_device/HwcLayer.h b/hwc2_device/HwcLayer.h
index 41b3dbb..627d5ac 100644
--- a/hwc2_device/HwcLayer.h
+++ b/hwc2_device/HwcLayer.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef ANDROID_HWC2_DEVICE_HWC_LAYER_H
-#define ANDROID_HWC2_DEVICE_HWC_LAYER_H
+#pragma once
#include <hardware/hwcomposer2.h>
@@ -140,5 +139,3 @@ class HwcLayer {
};
} // namespace android
-
-#endif