summaryrefslogtreecommitdiff
path: root/native/android
diff options
context:
space:
mode:
Diffstat (limited to 'native/android')
-rw-r--r--native/android/Android.bp1
-rw-r--r--native/android/system_fonts.cpp3
2 files changed, 1 insertions, 3 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp
index 8594ba5ca2da..f1b1d79265de 100644
--- a/native/android/Android.bp
+++ b/native/android/Android.bp
@@ -34,6 +34,7 @@ ndk_library {
cc_defaults {
name: "libandroid_defaults",
+ cpp_std: "gnu++20",
cflags: [
"-Wall",
"-Werror",
diff --git a/native/android/system_fonts.cpp b/native/android/system_fonts.cpp
index 9fe792958cef..8e90a6572478 100644
--- a/native/android/system_fonts.cpp
+++ b/native/android/system_fonts.cpp
@@ -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 {