Make VCS data container classes implicitly shared

Authored by kossebau on Oct 31 2017, 12:12 PM.

Description

Make VCS data container classes implicitly shared

Summary:
Also

  • rely on default implementation of copy constructor to copy all data on forking the internal data objects
  • mark as movable types for improved handling in Qt containers

Object of these classes are created in one place and then passed around
for read-only consumption. They are passed by value in method return
arguments and stored by value. As the classes already have a private
object for pimpl, making this an implicitly shared one is a small step.

Reviewers: KDevelop, apol, mwolff

Reviewed By: KDevelop, apol, mwolff

Subscribers: apol, mwolff, brauch, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D8588

Details

Committed
kossebauNov 3 2017, 3:31 PM
Reviewer
KDevelop
Differential Revision
D8588: Make VCS data container classes implicitly shared
Parents
R32:a6d3450603a3: Do not mark normal setter method const
Branches
Unknown
Tags
Unknown