Remove top-level const from parameters in function declarations.
This is a safe cleanup change since top-level const applied to parameters in function declarations (that are not also definitions) are ignored by the compiler. Hence, such changes do not change the type of the declared functions and are simply no-ops. Bug: webrtc:13610 Change-Id: Ibafb92c45119a6d8bdb6f9109aa8dad6385163a9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249086 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35802}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
c98687a2ef
commit
62238097c9
@ -86,7 +86,7 @@ inline std::string ToUtf8(const std::wstring& wstr) {
|
||||
std::string string_trim(const std::string& s);
|
||||
|
||||
// TODO(jonasolsson): replace with absl::Hex when that becomes available.
|
||||
std::string ToHex(const int i);
|
||||
std::string ToHex(int i);
|
||||
|
||||
// CompileTimeString comprises of a string-like object which can be used as a
|
||||
// regular const char* in compile time and supports concatenation. Useful for
|
||||
|
||||
Reference in New Issue
Block a user