#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

@@ -76,15 +76,9 @@ public:
}
}
std::string channelName() const
{
return m_channelName;
}
std::string channelName() const { return m_channelName; }
const RigWellLogCurveData* curveData() const
{
return m_curveData;
}
const RigWellLogCurveData* curveData() const { return m_curveData; }
private:
std::string m_channelName;
@@ -104,40 +98,19 @@ public:
{
}
void setWellName( const QString& wellName )
{
m_wellName = wellName;
}
void setWellName( const QString& wellName ) { m_wellName = wellName; }
QString wellName()
{
return m_wellName;
}
QString wellName() { return m_wellName; }
void setCaseName( const QString& caseName )
{
m_caseName = caseName;
}
void setCaseName( const QString& caseName ) { m_caseName = caseName; }
void setDate( const QString& date )
{
m_date = date;
}
void setDate( const QString& date ) { m_date = date; }
void setRkbDiff( double rkbDiff )
{
m_rkbDiff = rkbDiff;
}
void setRkbDiff( double rkbDiff ) { m_rkbDiff = rkbDiff; }
void enableTvdrkbExport()
{
m_exportTvdrkb = true;
}
void enableTvdrkbExport() { m_exportTvdrkb = true; }
double rkbDiff()
{
return m_rkbDiff;
}
double rkbDiff() { return m_rkbDiff; }
void addLogData( const std::string& channelName,
const std::string& unit,