Merge "Switch to C++20"
This commit is contained in:
@@ -40,6 +40,8 @@ cc_library_shared {
|
|||||||
|
|
||||||
cppflags: ["-Wno-conversion-null"],
|
cppflags: ["-Wno-conversion-null"],
|
||||||
|
|
||||||
|
cpp_std: "gnu++20",
|
||||||
|
|
||||||
srcs: [
|
srcs: [
|
||||||
"android_animation_PropertyValuesHolder.cpp",
|
"android_animation_PropertyValuesHolder.cpp",
|
||||||
"android_os_SystemClock.cpp",
|
"android_os_SystemClock.cpp",
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ ndk_library {
|
|||||||
|
|
||||||
cc_defaults {
|
cc_defaults {
|
||||||
name: "libandroid_defaults",
|
name: "libandroid_defaults",
|
||||||
|
cpp_std: "gnu++20",
|
||||||
cflags: [
|
cflags: [
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
|
|||||||
@@ -66,9 +66,6 @@ struct AFont {
|
|||||||
return mFilePath == o.mFilePath && mLocale == o.mLocale && mWeight == o.mWeight &&
|
return mFilePath == o.mFilePath && mLocale == o.mLocale && mWeight == o.mWeight &&
|
||||||
mItalic == o.mItalic && mCollectionIndex == o.mCollectionIndex && mAxes == o.mAxes;
|
mItalic == o.mItalic && mCollectionIndex == o.mCollectionIndex && mAxes == o.mAxes;
|
||||||
}
|
}
|
||||||
|
|
||||||
AFont() = default;
|
|
||||||
AFont(const AFont&) = default;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FontHasher {
|
struct FontHasher {
|
||||||
|
|||||||
Reference in New Issue
Block a user