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

@@ -61,13 +61,16 @@
#include <cstring>
#include <cstdint>
#include <cassert>
#ifndef NDEBUG
#include <glibmm.h>
#include <fstream>
#endif
#include "opthelper.h"
#include <assert.h>
#include "rt_math.h"
#include "noncopyable.h"
// Bit representations of flags
enum {
@@ -85,7 +88,8 @@ using LUTd = LUT<double>;
using LUTuc = LUT<uint8_t>;
template<typename T>
class LUT
class LUT :
public rtengine::NonCopyable
{
protected:
// list of variables ordered to improve cache speed
@@ -167,8 +171,6 @@ public:
reset();
}
LUT(const LUT&) = delete;
~LUT()
{
if (owner) {