aboutsummaryrefslogtreecommitdiff
path: root/drm/VSyncWorker.h
diff options
context:
space:
mode:
Diffstat (limited to 'drm/VSyncWorker.h')
-rw-r--r--drm/VSyncWorker.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drm/VSyncWorker.h b/drm/VSyncWorker.h
index 1e6d39f..1774cc6 100644
--- a/drm/VSyncWorker.h
+++ b/drm/VSyncWorker.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef ANDROID_EVENT_WORKER_H_
-#define ANDROID_EVENT_WORKER_H_
+#pragma once
#include <hardware/hardware.h>
#include <hardware/hwcomposer.h>
@@ -55,5 +54,3 @@ class VSyncWorker : public Worker {
int64_t last_timestamp_ = -1;
};
} // namespace android
-
-#endif