diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-12 11:19:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-12 14:22:48 +0100 |
commit | 24731174015d04b7acb5041fdc836dd74f9313a1 (patch) | |
tree | e7b59b241c81f67d65b6c2fec37cc18a0965743b /l10ntools/source | |
parent | 703ad53629fb8f9002483142f906249e6160b4db (diff) |
coverity#1371323 Missing move assignment operator
Change-Id: I806cb0a1ede9c025c00fab58a3fd8835887c0a44
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/po.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index c604577bfa08..81ecdcd553d7 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -283,6 +283,13 @@ PoEntry& PoEntry::operator=(const PoEntry& rPo) return *this; } +PoEntry& PoEntry::operator=(PoEntry&& rPo) +{ + m_pGenPo = std::move(rPo.m_pGenPo); + m_bIsInitialized = std::move(rPo.m_bIsInitialized); + return *this; +} + OString const & PoEntry::getSourceFile() const { assert( m_bIsInitialized ); |