diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 00:55:50 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-25 00:55:50 +0000 |
commit | 00c83cc02884f255924ae1c6799ea6fce3696d31 (patch) | |
tree | 33e210f054d5f45d46d18b2fe135dac15f74d444 /third_party | |
parent | 9747a179f0d71d17db4d9675bc913f59194e2027 (diff) | |
download | chromium_src-00c83cc02884f255924ae1c6799ea6fce3696d31.zip chromium_src-00c83cc02884f255924ae1c6799ea6fce3696d31.tar.gz chromium_src-00c83cc02884f255924ae1c6799ea6fce3696d31.tar.bz2 |
Make inttypes.h and similar macro usage C++11-friendly.
"foo"PRIuS is a user-defined literal in C++11. Add spaces around these macros.
Likewise, L"\xab"L"c" is a user-defined literal, so insert a space in the
middle.
No functionality change.
BUG=chromium:263960
TBR=alokp@chromium.org, dmichael@chromium.org, enne@chromium.org, isherman@chromium.org, rsleevi@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/20182002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/leveldatabase/chromium_logger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/leveldatabase/chromium_logger.h b/third_party/leveldatabase/chromium_logger.h index 3595d2b..76862c3 100644 --- a/third_party/leveldatabase/chromium_logger.h +++ b/third_party/leveldatabase/chromium_logger.h @@ -44,7 +44,7 @@ class ChromiumLogger : public Logger { ::base::Time::Now().LocalExplode(&t); p += ::base::snprintf(p, limit - p, - "%04d/%02d/%02d-%02d:%02d:%02d.%03d %"PRIu64" ", + "%04d/%02d/%02d-%02d:%02d:%02d.%03d %" PRIu64 " ", t.year, t.month, t.day_of_month, |