Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h

Issue 2986163002: Audit of kConstants missing the const qualifier (Closed)
Patch Set: rebase + constexpr Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h
diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h b/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h
index c61aea872c54ac612c30ba35469d914ed2571468..b437cee400f7bfafd71efeffa36d8f2d6ae4d657 100644
--- a/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h
+++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h
@@ -35,15 +35,15 @@ class PacketMaskTable {
PacketMaskTable(FecMaskType fec_mask_type, int num_media_packets);
~PacketMaskTable() {}
FecMaskType fec_mask_type() const { return fec_mask_type_; }
- const uint8_t*** fec_packet_mask_table() const {
+ const uint8_t* const* const* fec_packet_mask_table() const {
return fec_packet_mask_table_;
}
private:
FecMaskType InitMaskType(FecMaskType fec_mask_type, int num_media_packets);
- const uint8_t*** InitMaskTable(FecMaskType fec_mask_type_);
+ const uint8_t* const* const* InitMaskTable(FecMaskType fec_mask_type_);
const FecMaskType fec_mask_type_;
- const uint8_t*** fec_packet_mask_table_;
+ const uint8_t* const* const* fec_packet_mask_table_;
};
// Returns an array of packet masks. The mask of a single FEC packet

Powered by Google App Engine
This is Rietveld 408576698