Chromium Code Reviews| Index: base/logging.h |
| diff --git a/base/logging.h b/base/logging.h |
| index 5db73b3adb7045a92b83a20cbf4d0dd957f97ba2..885235439b292408d5bd0b316018863c1390853f 100644 |
| --- a/base/logging.h |
| +++ b/base/logging.h |
| @@ -982,7 +982,8 @@ inline std::ostream& operator<<(std::ostream& out, const std::wstring& wstr) { |
| #define NOTIMPLEMENTED() do {\ |
| static int count = 0;\ |
|
jar (doing other things)
2013/02/13 01:49:40
nit: how about changing this to:
static bool ran_
|
| LOG_IF(ERROR, 0 == count++) << NOTIMPLEMENTED_MSG;\ |
| -} while(0) |
| +} while(0);\ |
| +EAT_STREAM_PARAMETERS |
| #endif |
| #endif // BASE_LOGGING_H_ |