#5101 clang-format: Allow short functions on a single line

Use AllowShortFunctionsOnASingleLine: InlineOnly
This commit is contained in:
Magne Sjaastad
2020-02-12 11:13:38 +01:00
parent ab9d46ee75
commit 10f0abc9b5
428 changed files with 1519 additions and 1990 deletions

View File

@@ -70,15 +70,9 @@ class Rim3dOverlayInfoConfig : public caf::PdmObject
double sum;
double weightedMean;
const std::vector<size_t>* histogram;
bool isValid( double parameter )
{
return parameter != HUGE_VAL && parameter != -HUGE_VAL;
}
bool isValid( double parameter ) { return parameter != HUGE_VAL && parameter != -HUGE_VAL; }
bool isValid()
{
return histogram && histogram->size() > 0 && isValid( min ) && isValid( max );
}
bool isValid() { return histogram && histogram->size() > 0 && isValid( min ) && isValid( max ); }
};
public: