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

Unified Diff: net/base/cookie_monster.h

Issue 2851: An early optimization in std::pair<> in Visual Studio 2008 Service Pack 1 mak... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster.h
===================================================================
--- net/base/cookie_monster.h (revision 2210)
+++ net/base/cookie_monster.h (working copy)
@@ -249,6 +249,12 @@
httponly_(httponly) {
}
+#if defined(_MSC_VER) && _CPPLIB_VER == 505
+ // On Visual Studio 2008 Service Pack 1, std::pair<A, B> are optimized in a
+ // way that requires the availability of a default constructor.
+ CanonicalCookie() { }
+#endif
+
// Supports the default copy constructor.
const std::string& Name() const { return name_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698