CMake : Improve handling of compiler flags (#8486)

#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2022-01-26 10:08:28 +01:00
1 parent d5b17976ed
commit 2d2bf0bbc7
24 files changed
+190 -64

No files matched your search

@@ -252,7 +252,7 @@ void RimWellPathGroup::defineUiOrdering( QString uiConfigName, caf::PdmUiOrderin
std::vector<const RigWellPath*> RimWellPathGroup::wellPathGeometries() const
{
std::vector<const RigWellPath*> allGeometries;
for ( const auto child : m_childWellPaths() )
for ( const auto& child : m_childWellPaths() )
{
if ( child->wellPathGeometry() )
{