summaryrefslogtreecommitdiff
path: root/include/basebmp/colortraits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/basebmp/colortraits.hxx')
-rw-r--r--include/basebmp/colortraits.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/basebmp/colortraits.hxx b/include/basebmp/colortraits.hxx
index 0b0c4921f234..d9b43320a58b 100644
--- a/include/basebmp/colortraits.hxx
+++ b/include/basebmp/colortraits.hxx
@@ -119,13 +119,6 @@ template< typename ColorType > struct ColorTraits
/// Type of a color component (i.e. the type of an individual channel)
typedef ColorType component_type;
- /// Calculate normalized distance between color c1 and c2
- static inline vigra::NormTraits<ColorType> distance( ColorType c1,
- ColorType c2 )
- {
- return vigra::norm(c1 - c2);
- }
-
static inline component_type toGreyscale( ColorType c )
{
return c;