Commit cc475ecf authored by ager@chromium.org's avatar ager@chromium.org

Landing for Ryan Dahl.

Remove const from BitCast.

Fixes build for old GCCs.

Review URL: http://codereview.chromium.org/3130033/show

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5305 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 25bdc16f
......@@ -740,7 +740,7 @@ inline Dest BitCast(const Source& source) {
}
template <class Dest, class Source>
inline Dest BitCast(Source* const & source) {
inline Dest BitCast(Source* source) {
return BitCast<Dest>(reinterpret_cast<uintptr_t>(source));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment