Apply modernize-redundant-void-arg

This commit is contained in:
Flössie
2016-10-12 18:24:14 +02:00
parent 0731975ff0
commit 19de9d1efa
5 changed files with 10 additions and 10 deletions

View File

@@ -554,7 +554,7 @@ bool MultiDiagonalSymmetricMatrix::CreateIncompleteCholeskyFactorization(int Max
return true;
}
void MultiDiagonalSymmetricMatrix::KillIncompleteCholeskyFactorization(void)
void MultiDiagonalSymmetricMatrix::KillIncompleteCholeskyFactorization()
{
delete IncompleteCholeskyFactorization;
}

View File

@@ -321,7 +321,7 @@ parse_error:
}
bool
CameraConst::has_dcrawMatrix(void)
CameraConst::has_dcrawMatrix()
{
return dcraw_matrix[0] != 0;
}
@@ -339,7 +339,7 @@ CameraConst::update_dcrawMatrix(const short *other)
}
const short *
CameraConst::get_dcrawMatrix(void)
CameraConst::get_dcrawMatrix()
{
if (!has_dcrawMatrix()) {
return nullptr;
@@ -349,7 +349,7 @@ CameraConst::get_dcrawMatrix(void)
}
bool
CameraConst::has_rawCrop(void)
CameraConst::has_rawCrop()
{
return raw_crop[0] != 0 || raw_crop[1] != 0 || raw_crop[2] != 0 || raw_crop[3] != 0;
}
@@ -698,7 +698,7 @@ void CameraConstantsStore::init(Glib::ustring baseDir, Glib::ustring userSetting
}
CameraConstantsStore *
CameraConstantsStore::getInstance(void)
CameraConstantsStore::getInstance()
{
static CameraConstantsStore instance_;
return &instance_;

View File

@@ -1775,7 +1775,7 @@ float PerceptualToneCurve::get_curve_val(float x, float range[2], float lut[], s
}
// calculate a single value that represents the contrast of the tone curve
float PerceptualToneCurve::calculateToneCurveContrastValue(void) const
float PerceptualToneCurve::calculateToneCurveContrastValue() const
{
// find linear y = k*x the best approximates the curve, which is the linear scaling/exposure component that does not contribute any contrast