Use the global default cpp_std.
Bug: http://b/344590580
Change-Id: I523e556f77e33fbaa6711b9ada7c8646202a2749
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;
}