Merge "Switch to C++20" am: a7acd5d5a7 am: b1dfb7b9d7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2307908

Change-Id: I02e55017a080b40b5d36f28170016eeb05c720f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Bart Van Assche
2022-11-29 20:52:33 +00:00
committed by Automerger Merge Worker
3 changed files with 3 additions and 3 deletions

View File

@@ -40,6 +40,8 @@ cc_library_shared {
cppflags: ["-Wno-conversion-null"],
cpp_std: "gnu++20",
srcs: [
"android_animation_PropertyValuesHolder.cpp",
"android_os_SystemClock.cpp",

View File

@@ -34,6 +34,7 @@ ndk_library {
cc_defaults {
name: "libandroid_defaults",
cpp_std: "gnu++20",
cflags: [
"-Wall",
"-Werror",

View File

@@ -66,9 +66,6 @@ struct AFont {
return mFilePath == o.mFilePath && mLocale == o.mLocale && mWeight == o.mWeight &&
mItalic == o.mItalic && mCollectionIndex == o.mCollectionIndex && mAxes == o.mAxes;
}
AFont() = default;
AFont(const AFont&) = default;
};
struct FontHasher {