Fix Clang warnings plus some cleanups

This commit is contained in:
Flössie
2019-10-31 08:56:38 +01:00
parent 6935faa258
commit aacea7046c
19 changed files with 99 additions and 87 deletions

View File

@@ -18,18 +18,18 @@
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#include <iostream>
#include "camconst.h"
#include "pdaflinesfilter.h"
#include "rawimage.h"
#include "settings.h"
#include <iostream>
#include "camconst.h"
namespace rtengine {
namespace rtengine
{
extern const Settings *settings;
namespace {
namespace
{
class PDAFGreenEqulibrateThreshold: public RawImageSource::GreenEqulibrateThreshold {
static constexpr float BASE_THRESHOLD = 0.5f;
@@ -167,8 +167,6 @@ private:
} // namespace
PDAFLinesFilter::PDAFLinesFilter(RawImage *ri):
ri_(ri),
W_(ri->get_width()),