mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 23:20:29 -05:00
Fixes by clang-format
This commit is contained in:
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 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user