Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: third_party/libphonenumber/cpp/src/default_logger.h

Issue 7277083: [libphonenumber] snprintf isn't generally in the std:: namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libphonenumber/README.chromium ('k') | third_party/libphonenumber/patches/version277a.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libphonenumber/cpp/src/default_logger.h
diff --git a/third_party/libphonenumber/cpp/src/default_logger.h b/third_party/libphonenumber/cpp/src/default_logger.h
index 70ee2f5f88efd87de3ead3026278e8a21b352205..4cf065be5791eb5d0e12bdc1b56a7bdcd6861fad 100644
--- a/third_party/libphonenumber/cpp/src/default_logger.h
+++ b/third_party/libphonenumber/cpp/src/default_logger.h
@@ -48,7 +48,7 @@ struct ConvertToString<int> {
#if defined(OS_WIN)
_itoa_s(n, buffer, sizeof(buffer), 10);
#else
- std::snprintf(buffer, sizeof(buffer), "%d", n);
+ snprintf(buffer, sizeof(buffer), "%d", n);
#endif
return string(buffer);
}
« no previous file with comments | « third_party/libphonenumber/README.chromium ('k') | third_party/libphonenumber/patches/version277a.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698