aboutsummaryrefslogtreecommitdiff
path: root/bufferinfo/legacy/BufferInfoImagination.h
diff options
context:
space:
mode:
Diffstat (limited to 'bufferinfo/legacy/BufferInfoImagination.h')
-rw-r--r--bufferinfo/legacy/BufferInfoImagination.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/bufferinfo/legacy/BufferInfoImagination.h b/bufferinfo/legacy/BufferInfoImagination.h
index 635e3b5..3f4e13a 100644
--- a/bufferinfo/legacy/BufferInfoImagination.h
+++ b/bufferinfo/legacy/BufferInfoImagination.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef BUFFERINFOIMAGINATION_H
-#define BUFFERINFOIMAGINATION_H
+#pragma once
#include <hardware/gralloc.h>
@@ -30,5 +29,3 @@ class BufferInfoImagination : public LegacyBufferInfoGetter {
auto GetBoInfo(buffer_handle_t handle) -> std::optional<BufferInfo> override;
};
} // namespace android
-
-#endif // PLATFORMIMAGINATION_H