[Webkit-unassigned] [Bug 91222] Make Functional bind PassOwnPtr.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 16:33:17 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91222





--- Comment #5 from Huang Dongsung <luxtella at company100.net>  2012-07-13 16:33:17 PST ---
(In reply to comment #3)
> (From update of attachment 152223 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=152223&action=review
> 
> > Source/WTF/wtf/Functional.h:322
> > +    static void deref(const OwnPtr<T>&) { }
> 
> I am curious why we need const here.

"const" is not necessary. Putting "const" in front of a reference is my habit. However, I think it is not bad.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list