Quiet a warning where we weren't checking if this was the same and rhs.

llvm-svn: 290687
This commit is contained in:
Greg Clayton 2016-12-28 21:19:42 +00:00
parent 2b59eca1f7
commit 02f74b0861
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ CFBundle::CFBundle(const CFBundle &rhs)
// CFBundle copy constructor
//----------------------------------------------------------------------
CFBundle &CFBundle::operator=(const CFBundle &rhs) {
*this = rhs;
if (this != &rhs)
*this = rhs;
return *this;
}