From 73f0c216405cd958621aab8a05ce04ebe0fbd43f Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Wed, 3 Aug 2022 13:18:30 +0000 Subject: [PATCH] Fix const correctness. Bug: b/238157120 Change-Id: I2887b5be48d841c9ff915d669fb623b77f1e21d1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/270481 Reviewed-by: Danil Chapovalov Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#37679} --- rtc_base/logging.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rtc_base/logging.h b/rtc_base/logging.h index 9aa2bf2901..aa530e7b20 100644 --- a/rtc_base/logging.h +++ b/rtc_base/logging.h @@ -111,12 +111,12 @@ class LogMessage; // the most flexible way. class LogLineRef { public: - absl::string_view message() { return message_; } - absl::string_view filename() { return filename_; }; - int line() { return line_; }; - absl::optional thread_id() { return thread_id_; }; - webrtc::Timestamp timestamp() { return timestamp_; }; - absl::string_view tag() const { return tag_; }; + absl::string_view message() const { return message_; } + absl::string_view filename() const { return filename_; } + int line() const { return line_; } + absl::optional thread_id() const { return thread_id_; } + webrtc::Timestamp timestamp() const { return timestamp_; } + absl::string_view tag() const { return tag_; } LoggingSeverity severity() const { return severity_; } std::string DefaultLogLine() const;