freebsd-ports/graphics/tulip/files/patch-EqualValueClustering.cpp
Alexey Dokuchaev ac54ae2dbe Unbreak with recent GCC (fix bad C++ code).
Approved by:	fjoe (mentor, implicit)
2004-10-29 08:29:30 +00:00

11 lines
338 B
C++

--- plugins/clustering/EqualValueClustering.cpp.orig Wed Apr 2 15:57:11 2003
+++ plugins/clustering/EqualValueClustering.cpp Fri Oct 29 14:14:16 2004
@@ -19,7 +19,7 @@
{}
namespace STL_EXT_NS {
- struct hash<double> {
+ template <> struct hash<double> {
size_t operator()(const double s) const { return (size_t)s; }
};
};