RTC_LOG: Mark a trivial function with constexpr
It makes very little difference, but will allow a slightly nontrivial sequel CL [https://webrtc-review.googlesource.com/c/src/+/184933] to cause no binary changes at all. Bug: webrtc:11968 Change-Id: I681ea2de757b46fe2f08df6e99cf974e577542c9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185000 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32155}
This commit is contained in:
@ -525,7 +525,7 @@ class LogMessage {
|
||||
inline static int GetLogToStream(LogSink* stream = nullptr) { return 0; }
|
||||
inline static int GetMinLogSeverity() { return 0; }
|
||||
inline static void ConfigureLogging(const char* params) {}
|
||||
inline static bool IsNoop(LoggingSeverity severity) { return true; }
|
||||
static constexpr bool IsNoop(LoggingSeverity severity) { return true; }
|
||||
#endif // RTC_LOG_ENABLED()
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user