From 884cedc770442b5bb8a1a29fd95964a8c07b209f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 17 Aug 2020 10:14:16 -0700 Subject: [PATCH] Don't #include from . It's not used, and shouldn't be used. Also switch to `#pragma once`. Test: treehugger Change-Id: I464d3de1b0e1d536cea06362e6c73fddaad967d1 --- libutils/include/utils/Flattenable.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libutils/include/utils/Flattenable.h b/libutils/include/utils/Flattenable.h index 17c5e1057..8aa381a8f 100644 --- a/libutils/include/utils/Flattenable.h +++ b/libutils/include/utils/Flattenable.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef ANDROID_UTILS_FLATTENABLE_H -#define ANDROID_UTILS_FLATTENABLE_H +#pragma once // DO NOT USE: please use parcelable instead // This code is deprecated and will not be supported via AIDL code gen. For data @@ -25,7 +24,6 @@ #include #include #include -#include #include @@ -217,5 +215,3 @@ public: }; } // namespace android - -#endif /* ANDROID_UTILS_FLATTENABLE_H */