mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #6265
6265: Missing parameter in error list r=def- a=Jupeyy Never lucky ## Checklist - [ ] Tested the change ingame - [ ] Provided screenshots if it is a visual change - [ ] Tested in combination with possibly related configuration options - [ ] Written a unit test (especially base/) or added coverage to integration test - [ ] Considered possible null pointers and out of bounds array indexing - [ ] Changed no physics that affect existing maps - [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional) Co-authored-by: Jupeyy <jupjopjap@gmail.com>
This commit is contained in:
commit
6c07706b0c
|
@ -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