Fixes by clang-format

This commit is contained in:
magnesj
2020-11-06 09:46:38 +00:00
committed by Magne Sjaastad
parent 318b4e3471
commit d11e109c7e
208 changed files with 67533 additions and 67439 deletions

View File

@@ -36,27 +36,27 @@ std::vector<size_t> RifEclipseUserDataKeywordTools::requiredItemsPerLineForKeywo
switch ( firstLetter )
{
case 'B':
return {3}; // Block triplet
return { 3 }; // Block triplet
case 'C':
return {1, 3}; // Well Name and completion triplet
return { 1, 3 }; // Well Name and completion triplet
case 'G':
return {1}; // Group
return { 1 }; // Group
case 'R':
return {1}; // Region number
return { 1 }; // Region number
case 'S':
return {1, 1}; // Well name and segment number
return { 1, 1 }; // Well name and segment number
case 'W':
return {1}; // Well Name
return { 1 }; // Well Name
}
std::string firstTwoLetters = identifier.substr( 0, 2 );
if ( firstTwoLetters == "LB" )
return {1, 3}; // LGR name and block triplet
return { 1, 3 }; // LGR name and block triplet
else if ( firstTwoLetters == "LC" )
return {1, 1, 3}; // LGR name, well name and block triplet
return { 1, 1, 3 }; // LGR name, well name and block triplet
else if ( firstTwoLetters == "LW" )
return {1, 1}; // LGR name and well name
return { 1, 1 }; // LGR name and well name
return {};
}