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