Fixes by clang-format

This commit is contained in:
magnesj authored and Magne Sjaastad committed 2026-01-20 13:44:06 +01:00
1 parent ed759bf39a
commit 4966a179cb
1 file changed
+2 -2
@@ -212,7 +212,7 @@ static std::string hashUsername( const std::string& username )
QByteArray usernameBytes = QString::fromStdString( username ).toUtf8();
QByteArray hash = QCryptographicHash::hash( usernameBytes, QCryptographicHash::Sha256 );
// Convert to hex string for readability in telemetry
return hash.toHex().toStdString();
}
@@ -239,7 +239,7 @@ void RiaOpenTelemetryManager::reportEventAsync( const std::string& eventName, co
// Create mutable copy and add hashed username if configured (privacy-preserving for regular events)
// Note: crash events already have real username added in reportCrash()
std::map<std::string, std::string> enrichedAttributes = attributes;
bool isCrashEvent = ( eventName == "crash.signal_handler" );
if ( !isCrashEvent )
{