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

Unified Diff: src/utils.h

Issue 5968004: Fix Solaris build
Patch Set: visibility=default is needed with solaris too Created 10 years 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 | « src/platform-solaris.cc ('k') | src/v8utils.h » ('j') | src/v8utils.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index 62b8726b802ae30f8d0c64f9343d7849d3f98e9e..5e65a4b9dd91f3360e40cc65e99bc5a4203a470e 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -754,7 +754,7 @@ inline Dest BitCast(const Source& source) {
}
template <class Dest, class Source>
-inline Dest BitCast(Source* source) {
+inline Dest BitCast(Source*& source) {
return BitCast<Dest>(reinterpret_cast<uintptr_t>(source));
}
« no previous file with comments | « src/platform-solaris.cc ('k') | src/v8utils.h » ('j') | src/v8utils.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698