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

Unified Diff: chrome/browser/profile.h

Issue 165330: Disable RTTI and C++ exceptions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « chrome/browser/cocoa/nsimage_cache.mm ('k') | testing/gtest.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.h
===================================================================
--- chrome/browser/profile.h (revision 23061)
+++ chrome/browser/profile.h (working copy)
@@ -487,8 +487,8 @@
template<>
struct hash<Profile*> {
- size_t operator()(Profile* const& p) const {
- return std::tr1::hash<long>()(reinterpret_cast<long>(p));
+ std::size_t operator()(Profile* const& p) const {
+ return reinterpret_cast<std::size_t>(p);
}
};
« no previous file with comments | « chrome/browser/cocoa/nsimage_cache.mm ('k') | testing/gtest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698