mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Missing parameter in error list
This commit is contained in:
parent
067af3abbd
commit
8a8dab5611
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue