mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: optimize KCatalog copy-cnstructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
1f05a9d76b
commit
37e122b14e
1 changed files with 1 additions and 2 deletions
|
@ -140,9 +140,8 @@ KCatalog::KCatalog(const QString &name, const QString &language)
|
|||
}
|
||||
|
||||
KCatalog::KCatalog(const KCatalog & rhs)
|
||||
: d( new KCatalogPrivate )
|
||||
: d( new KCatalogPrivate(*rhs.d) )
|
||||
{
|
||||
*this = rhs;
|
||||
}
|
||||
|
||||
KCatalog & KCatalog::operator=(const KCatalog & rhs)
|
||||
|
|
Loading…
Add table
Reference in a new issue