Chromium Code Reviews| Index: base/logging.h |
| diff --git a/base/logging.h b/base/logging.h |
| index f91d174b340246341def089373b7b8d0c52d5e39..e39251168cb46981d952146d7ac06c881c185b81 100644 |
| --- a/base/logging.h |
| +++ b/base/logging.h |
| @@ -806,7 +806,7 @@ class BASE_EXPORT LogMessage { |
| // A non-macro interface to the log facility; (useful |
| // when the logging level is not a compile-time constant). |
| -inline void LogAtLevel(int const log_level, std::string const &msg) { |
| +inline void LogAtLevel(const int log_level, const std::string& msg) { |
|
Daniel Erat
2015/09/23 19:20:39
(i don't know why the int parameter was const in t
ki.stfu
2015/09/23 19:48:00
+1
|
| LogMessage(__FILE__, __LINE__, log_level).stream() << msg; |
| } |