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