Apply modernize-redundant-void-arg
This commit is contained in:
parent
0731975ff0
commit
19de9d1efa
@ -554,7 +554,7 @@ bool MultiDiagonalSymmetricMatrix::CreateIncompleteCholeskyFactorization(int Max
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MultiDiagonalSymmetricMatrix::KillIncompleteCholeskyFactorization(void)
|
void MultiDiagonalSymmetricMatrix::KillIncompleteCholeskyFactorization()
|
||||||
{
|
{
|
||||||
delete IncompleteCholeskyFactorization;
|
delete IncompleteCholeskyFactorization;
|
||||||
}
|
}
|
||||||
|
@ -321,7 +321,7 @@ parse_error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
CameraConst::has_dcrawMatrix(void)
|
CameraConst::has_dcrawMatrix()
|
||||||
{
|
{
|
||||||
return dcraw_matrix[0] != 0;
|
return dcraw_matrix[0] != 0;
|
||||||
}
|
}
|
||||||
@ -339,7 +339,7 @@ CameraConst::update_dcrawMatrix(const short *other)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const short *
|
const short *
|
||||||
CameraConst::get_dcrawMatrix(void)
|
CameraConst::get_dcrawMatrix()
|
||||||
{
|
{
|
||||||
if (!has_dcrawMatrix()) {
|
if (!has_dcrawMatrix()) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
@ -349,7 +349,7 @@ CameraConst::get_dcrawMatrix(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool
|
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;
|
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 *
|
||||||
CameraConstantsStore::getInstance(void)
|
CameraConstantsStore::getInstance()
|
||||||
{
|
{
|
||||||
static CameraConstantsStore instance_;
|
static CameraConstantsStore instance_;
|
||||||
return &instance_;
|
return &instance_;
|
||||||
|
@ -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
|
// 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
|
// find linear y = k*x the best approximates the curve, which is the linear scaling/exposure component that does not contribute any contrast
|
||||||
|
@ -167,7 +167,7 @@ PreviewLoader::PreviewLoader():
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
PreviewLoader* PreviewLoader::getInstance(void)
|
PreviewLoader* PreviewLoader::getInstance()
|
||||||
{
|
{
|
||||||
static PreviewLoader instance_;
|
static PreviewLoader instance_;
|
||||||
return &instance_;
|
return &instance_;
|
||||||
@ -191,7 +191,7 @@ void PreviewLoader::add(int dir_id, const Glib::ustring& dir_entry, PreviewLoade
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PreviewLoader::removeAllJobs(void)
|
void PreviewLoader::removeAllJobs()
|
||||||
{
|
{
|
||||||
DEBUG("stop %d", impl_->nConcurrentThreads);
|
DEBUG("stop %d", impl_->nConcurrentThreads);
|
||||||
MyMutex::MyLock lock(impl_->mutex_);
|
MyMutex::MyLock lock(impl_->mutex_);
|
||||||
|
@ -190,7 +190,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
ThumbImageUpdater*
|
ThumbImageUpdater*
|
||||||
ThumbImageUpdater::getInstance(void)
|
ThumbImageUpdater::getInstance()
|
||||||
{
|
{
|
||||||
static ThumbImageUpdater instance_;
|
static ThumbImageUpdater instance_;
|
||||||
return &instance_;
|
return &instance_;
|
||||||
@ -272,7 +272,7 @@ ThumbImageUpdater::removeJobs(ThumbImageUpdateListener* listener)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ThumbImageUpdater::removeAllJobs(void)
|
ThumbImageUpdater::removeAllJobs()
|
||||||
{
|
{
|
||||||
DEBUG("stop");
|
DEBUG("stop");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user