mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Fixes by clang-tidy
This commit is contained in:
1 parent
ecd89bc8ab
commit
fade1f61eb
1 file changed
+1
-3
@@ -251,9 +251,7 @@ bool RiaOpenTelemetryManager::isEventAllowed( const std::string& eventName ) con
|
||||
if ( !allowlist.isEmpty() && !matches( name, allowlist ) ) return false;
|
||||
|
||||
const QStringList denylist = prefs->eventDenylist();
|
||||
if ( !denylist.isEmpty() && matches( name, denylist ) ) return false;
|
||||
|
||||
return true;
|
||||
return !( !denylist.isEmpty() && matches( name, denylist ) );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user