Merge "Use the global default cpp_std." into main am: e5ccfbf9cc am: fa3235a0f0
Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/3115946
Change-Id: I0e52bb2543a0f59573970a5676debbec7fb70c06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/media/codec2/components/avc/C2SoftAvcDec.h b/media/codec2/components/avc/C2SoftAvcDec.h
index 36a463e..6165455 100644
--- a/media/codec2/components/avc/C2SoftAvcDec.h
+++ b/media/codec2/components/avc/C2SoftAvcDec.h
@@ -173,7 +173,7 @@
VuiColorAspects()
: primaries(2), transfer(2), coeffs(2), fullRange(0) { }
- bool operator==(const VuiColorAspects &o) {
+ bool operator==(const VuiColorAspects &o) const {
return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
&& fullRange == o.fullRange;
}
diff --git a/media/codec2/components/dav1d/C2SoftDav1dDec.h b/media/codec2/components/dav1d/C2SoftDav1dDec.h
index 6008325..c5c1214 100644
--- a/media/codec2/components/dav1d/C2SoftDav1dDec.h
+++ b/media/codec2/components/dav1d/C2SoftDav1dDec.h
@@ -91,7 +91,7 @@
coeffs(C2Color::MATRIX_UNSPECIFIED),
fullRange(C2Color::RANGE_UNSPECIFIED) {}
- bool operator==(const VuiColorAspects& o) {
+ bool operator==(const VuiColorAspects& o) const {
return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs &&
fullRange == o.fullRange;
}
diff --git a/media/codec2/components/gav1/C2SoftGav1Dec.h b/media/codec2/components/gav1/C2SoftGav1Dec.h
index 0e09fcc..e5d10e0 100644
--- a/media/codec2/components/gav1/C2SoftGav1Dec.h
+++ b/media/codec2/components/gav1/C2SoftGav1Dec.h
@@ -84,7 +84,7 @@
coeffs(C2Color::MATRIX_UNSPECIFIED),
fullRange(C2Color::RANGE_UNSPECIFIED) { }
- bool operator==(const VuiColorAspects &o) {
+ bool operator==(const VuiColorAspects &o) const {
return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
&& fullRange == o.fullRange;
}
diff --git a/media/codec2/components/hevc/C2SoftHevcDec.h b/media/codec2/components/hevc/C2SoftHevcDec.h
index 6abf69e..ff6d371 100644
--- a/media/codec2/components/hevc/C2SoftHevcDec.h
+++ b/media/codec2/components/hevc/C2SoftHevcDec.h
@@ -132,7 +132,7 @@
VuiColorAspects()
: primaries(2), transfer(2), coeffs(2), fullRange(0) { }
- bool operator==(const VuiColorAspects &o) {
+ bool operator==(const VuiColorAspects &o) const {
return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
&& fullRange == o.fullRange;
}
diff --git a/media/codec2/components/mpeg2/C2SoftMpeg2Dec.h b/media/codec2/components/mpeg2/C2SoftMpeg2Dec.h
index 3965bcc..a7bee90 100644
--- a/media/codec2/components/mpeg2/C2SoftMpeg2Dec.h
+++ b/media/codec2/components/mpeg2/C2SoftMpeg2Dec.h
@@ -172,7 +172,7 @@
VuiColorAspects()
: primaries(2), transfer(2), coeffs(2), fullRange(0) { }
- bool operator==(const VuiColorAspects &o) {
+ bool operator==(const VuiColorAspects &o) const {
return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
&& fullRange == o.fullRange;
}
diff --git a/media/codec2/vndk/Android.bp b/media/codec2/vndk/Android.bp
index dc06ee6..327c3fd 100644
--- a/media/codec2/vndk/Android.bp
+++ b/media/codec2/vndk/Android.bp
@@ -180,7 +180,6 @@
// public dependency for implementing Codec 2 components
cc_defaults {
name: "libcodec2-impl-defaults",
- cpp_std: "gnu++17",
defaults: [
"libcodec2_hal_selection",