From 24731174015d04b7acb5041fdc836dd74f9313a1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 12 Sep 2016 11:19:39 +0100 Subject: coverity#1371323 Missing move assignment operator Change-Id: I806cb0a1ede9c025c00fab58a3fd8835887c0a44 --- l10ntools/source/po.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'l10ntools/source') 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 ); -- cgit