summaryrefslogtreecommitdiff
path: root/src/colour.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/colour.h')
-rw-r--r--src/colour.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/colour.h b/src/colour.h
index f3a4964..65660a5 100644
--- a/src/colour.h
+++ b/src/colour.h
@@ -24,7 +24,6 @@
#ifndef LIBSUB_COLOUR_H
#define LIBSUB_COLOUR_H
-#include <dcp/types.h>
#include <string>
#include <cmath>
@@ -57,10 +56,6 @@ public:
float g;
/** blue component (from 0 to 1) */
float b;
-
- dcp::Colour dcp() const {
- return dcp::Colour(lrintf(r * 255), lrintf(g * 255), lrintf(b * 255));
- }
};
bool