clang-tidy : Add some bugprone- checks

This commit is contained in:
Magne Sjaastad 2021-10-04 10:08:13 +02:00 committed by GitHub
parent 59013ca91e
commit e2df3e9464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- ---
Checks: '-*,modernize-use-override,modernize-use-nullptr,modernize-deprecated-headers' Checks: '-*,modernize-use-override,modernize-use-nullptr,modernize-deprecated-headers,bugprone-bool-pointer-implicit-conversion,bugprone-parent-virtual-call,bugprone-redundant-branch-condition,bugprone-suspicious-semicolon,bugprone-suspicious-string-compare'
WarningsAsErrors: '' WarningsAsErrors: ''
HeaderFilterRegex: 'ApplicationLibCode/*.*$' HeaderFilterRegex: 'ApplicationLibCode/*.*$'
FormatStyle: 'file' FormatStyle: 'file'

View File

@ -1005,7 +1005,7 @@ void RimWellPltPlot::defineEditorAttribute( const caf::PdmFieldHandle* field,
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RimWellPltPlot::initAfterRead() void RimWellPltPlot::initAfterRead()
{ {
RimViewWindow::initAfterRead(); RimDepthTrackPlot::initAfterRead();
if ( m_wellLogPlot_OBSOLETE ) if ( m_wellLogPlot_OBSOLETE )
{ {