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:
bors[bot] 2023-01-11 18:09:34 +00:00 committed by GitHub
commit 6c07706b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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};