Don't #include <utils/Debug.h> from <utils/Flattenable.h>.

It's not used, and shouldn't be used.

Also switch to `#pragma once`.

Test: treehugger
Change-Id: I464d3de1b0e1d536cea06362e6c73fddaad967d1
This commit is contained in:
Elliott Hughes 2020-08-17 10:14:16 -07:00
parent 0398117a9a
commit 884cedc770

View file

@ -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 <string.h>
#include <sys/types.h>
#include <utils/Errors.h>
#include <utils/Debug.h>
#include <type_traits>
@ -217,5 +215,3 @@ public:
};
} // namespace android
#endif /* ANDROID_UTILS_FLATTENABLE_H */