summaryrefslogtreecommitdiff
path: root/plugingui/colour.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/colour.h')
-rw-r--r--plugingui/colour.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugingui/colour.h b/plugingui/colour.h
index 0bfe80d..3a135fc 100644
--- a/plugingui/colour.h
+++ b/plugingui/colour.h
@@ -54,13 +54,4 @@ private:
std::array<float, 4> data;
};
-struct ColourHasher
-{
- // TODO: replace by something reasonable
- std::size_t operator()(const Colour& colour) const
- {
- return 7*colour.red() + 11*colour.green() + 13*colour.blue()/* + 17*colour.alpha()*/;
- }
-};
-
} // GUI::