Reduce rawimage.h dependencies

This commit is contained in:
Ingo Weyrich
2019-10-29 15:21:02 +01:00
parent c11087c28d
commit ed161c6288
21 changed files with 50 additions and 35 deletions

View File

@@ -19,16 +19,16 @@
#pragma once
#include <cmath>
#include <list>
#include <map>
#include <string>
#include <glibmm/ustring.h>
#include "rawimage.h"
namespace rtengine
{
class RawImage;
class ffInfo
{
public:
@@ -48,13 +48,8 @@ public:
ffInfo( const ffInfo &o)
: pathname(o.pathname), maker(o.maker), model(o.model), lens(o.lens), aperture(o.aperture), focallength(o.focallength), timestamp(o.timestamp), ri(nullptr) {}
~ffInfo()
{
if( ri ) {
delete ri;
}
}
~ffInfo();
ffInfo &operator =(const ffInfo &o);
bool operator <(const ffInfo &e2) const;