diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/Backend.h | 5 | ||||
-rw-r--r-- | backend/BackendClient.h | 5 | ||||
-rw-r--r-- | backend/BackendManager.h | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/backend/Backend.h b/backend/Backend.h index 82b8fca..c24e818 100644 --- a/backend/Backend.h +++ b/backend/Backend.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef ANDROID_BACKEND_H -#define ANDROID_BACKEND_H +#pragma once #include "hwc2_device/DrmHwcTwo.h" @@ -41,5 +40,3 @@ class Backend { int client_start, size_t client_size); }; } // namespace android - -#endif diff --git a/backend/BackendClient.h b/backend/BackendClient.h index 95abb0f..1333eca 100644 --- a/backend/BackendClient.h +++ b/backend/BackendClient.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef ANDROID_BACKEND_CLIENT_H -#define ANDROID_BACKEND_CLIENT_H +#pragma once #include "Backend.h" @@ -27,5 +26,3 @@ class BackendClient : public Backend { uint32_t *num_requests) override; }; } // namespace android - -#endif diff --git a/backend/BackendManager.h b/backend/BackendManager.h index 751cb78..4976744 100644 --- a/backend/BackendManager.h +++ b/backend/BackendManager.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef ANDROID_BACKEND_MANAGER_H -#define ANDROID_BACKEND_MANAGER_H +#pragma once #include <functional> #include <map> @@ -54,5 +53,3 @@ class BackendManager { std::map<std::string, BackendConstructorT> available_backends_; }; } // namespace android - -#endif |