Move assignment to self (i.g. x = std::move(x)) is valid statement, so remove assert
authorAleksei Vereshchagin <avereschagin@dev.rtsoft.ru>
Mon, 11 Dec 2017 17:24:20 +0000 (20:24 +0300)
committerAleksei Vereshchagin <avereschagin@dev.rtsoft.ru>
Mon, 11 Dec 2017 17:24:20 +0000 (20:24 +0300)
src/misc/sigaction.cpp

index 3f9e5389da7567eb6a6d163bcf6394f68e1b3169..51408c2b374ed6ba9a846015a4b36c76219c404e 100644 (file)
@@ -106,7 +106,6 @@ SigAction::~SigAction()
 
 SigAction &SigAction::operator=(SigAction &&other)
 {
-    assert(this != &other);
     this->Release();
 
     m_haveAction = other.m_haveAction;