fixed compilation that was broken by merging 'enhanced-inspector-mode'

This commit is contained in:
Alberto Griggio
2018-03-27 13:46:20 +02:00
parent 15813abbed
commit 95a5f3d662
3 changed files with 3 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ void RawImageSource::getAutoMatchedToneCurve(const ColorManagementParams &cp, st
RawMetaDataLocation rml;
eSensorType sensor_type;
int w, h;
std::unique_ptr<Thumbnail> thumb(Thumbnail::loadQuickFromRaw(getFileName(), rml, sensor_type, w, h, 1, false, true));
std::unique_ptr<Thumbnail> thumb(Thumbnail::loadQuickFromRaw(getFileName(), rml, sensor_type, w, h, 1, false, true, true));
if (!thumb) {
if (settings->verbose) {
std::cout << "histogram matching: no thumbnail found, generating a neutral curve" << std::endl;