From e2df3e946407ec426fc47c6dd9c678d3cc81bdb6 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Mon, 4 Oct 2021 10:08:13 +0200 Subject: [PATCH] clang-tidy : Add some bugprone- checks --- ApplicationLibCode/.clang-tidy | 2 +- ApplicationLibCode/ProjectDataModel/Flow/RimWellPltPlot.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationLibCode/.clang-tidy b/ApplicationLibCode/.clang-tidy index 62eec8a1dd..6274e8b500 100644 --- a/ApplicationLibCode/.clang-tidy +++ b/ApplicationLibCode/.clang-tidy @@ -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: '' HeaderFilterRegex: 'ApplicationLibCode/*.*$' FormatStyle: 'file' diff --git a/ApplicationLibCode/ProjectDataModel/Flow/RimWellPltPlot.cpp b/ApplicationLibCode/ProjectDataModel/Flow/RimWellPltPlot.cpp index 8c51928c61..faadbe9309 100644 --- a/ApplicationLibCode/ProjectDataModel/Flow/RimWellPltPlot.cpp +++ b/ApplicationLibCode/ProjectDataModel/Flow/RimWellPltPlot.cpp @@ -1005,7 +1005,7 @@ void RimWellPltPlot::defineEditorAttribute( const caf::PdmFieldHandle* field, //-------------------------------------------------------------------------------------------------- void RimWellPltPlot::initAfterRead() { - RimViewWindow::initAfterRead(); + RimDepthTrackPlot::initAfterRead(); if ( m_wellLogPlot_OBSOLETE ) {