Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W webkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • App_Technologies
  • webkit
  • Repository
Switch branch/tag
  • webkit
  • Source
  • WTF
  • wtf
  • RefPtr.h
Find file BlameHistoryPermalink
  • darin@apple.com's avatar
    Cut down repeated code in RefPtr and RetainPtr by using copy/move-and-swap for assignment operators · 8176cd45
    darin@apple.com authored Aug 23, 2013
    https://bugs.webkit.org/show_bug.cgi?id=120223
    
    Reviewed by Anders Carlsson.
    
    * wtf/RefPtr.h: Switch to copy-and-swap in the assignment operators. The move ones already were done
    that way.
    * wtf/RetainPtr.h: Ditto, except for the move ones too.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8176cd45