Introduce rtengine/noncopyable.hpp

This commit is contained in:
Flössie
2016-10-08 15:36:44 +02:00
parent 8a2b2e6700
commit d132149a26
20 changed files with 142 additions and 105 deletions

View File

@@ -20,8 +20,10 @@
#define __RAWIMAGE_H
#include <ctime>
#include "dcraw.h"
#include "imageio.h"
#include "noncopyable.h"
namespace rtengine
{
@@ -32,7 +34,8 @@ struct badPix {
badPix( uint16_t xc, uint16_t yc ): x(xc), y(yc) {}
};
class PixelsMap
class PixelsMap :
public NonCopyable
{
int w; // line width in base_t units
int h; // height
@@ -49,8 +52,6 @@ public:
memset(pm, 0, h * w * base_t_size );
}
PixelsMap(const PixelsMap&) = delete;
~PixelsMap()
{
delete [] pm;