Merge pull request #5361 from ligfx/signaturedbwarning

SignatureDB: fix prevented copy elision
This commit is contained in:
Mat M 2017-05-02 23:09:49 -04:00 committed by GitHub
commit d48c3ce63e
1 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,7 @@
#include "Core/PowerPC/SignatureDB/DSYSignatureDB.h"
#include "Core/PowerPC/SignatureDB/MEGASignatureDB.h"
SignatureDB::SignatureDB(SignatureDB::HandlerType handler)
: m_handler(std::move(CreateFormatHandler(handler)))
SignatureDB::SignatureDB(SignatureDB::HandlerType handler) : m_handler(CreateFormatHandler(handler))
{
}