[Webkit-unassigned] [Bug 58131] New: Fix compilation with Solaris 10/Sun Studio 12: moving elements in a vector requires source not to be const

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 8 03:19:11 PDT 2011


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

           Summary: Fix compilation with Solaris 10/Sun Studio 12: moving
                    elements in a vector requires source not to be const
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bentaylor.solx86 at gmail.com


I don't know why the compiler couldn't call src->~T() on a const T *src,
but fact is it couldn't.

In any case, since move is copying the source and deleting it, formally
the argument shouldn't be const anyway.

-- 
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