Missing parameter in error list

This commit is contained in:
Jupeyy 2023-01-11 18:46:13 +01:00
parent 067af3abbd
commit 8a8dab5611

View file

@ -1110,7 +1110,7 @@ protected:
std::unique_lock<std::mutex> Lock(m_ErrWarnMutex);
SGFXErrorContainer::SError Err = {false, pErr};
if(std::find(m_Error.m_vErrors.begin(), m_Error.m_vErrors.end(), Err) == m_Error.m_vErrors.end())
m_Error.m_vErrors.emplace_back();
m_Error.m_vErrors.emplace_back(Err);
if(pErrStrExtra != nullptr)
{
SGFXErrorContainer::SError ErrExtra = {false, pErrStrExtra};