Don't use message as part of the assert dedup

kimath overflow can generate thousands of unique messages in one run lolol
This commit is contained in:
Marek Roszko 2024-06-21 07:19:40 -04:00
parent 8df28d4f5f
commit acec5552c0
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@ void PGM_BASE::HandleAssert( const wxString& aFile, int aLine, const wxString& a
{
static std::set<SENTRY_ASSERT_CACHE_KEY> assertCache;
SENTRY_ASSERT_CACHE_KEY key = { aFile, aLine, aFunc, aCond, aMsg };
SENTRY_ASSERT_CACHE_KEY key = { aFile, aLine, aFunc, aCond };
if( assertCache.find( key ) == assertCache.end() )
{