mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
ac54ae2dbe
Approved by: fjoe (mentor, implicit)
21 lines
530 B
C++
21 lines
530 B
C++
--- plugins/metric/StrahlerMetric.cpp.orig Fri Dec 6 21:39:55 2002
|
|
+++ plugins/metric/StrahlerMetric.cpp Fri Oct 29 14:14:17 2004
|
|
@@ -27,7 +27,7 @@
|
|
}
|
|
};
|
|
|
|
- struct equal_to<couple> {
|
|
+ template <> struct equal_to<couple> {
|
|
bool operator()(const couple &c,const couple &d)
|
|
{
|
|
if ((c.r==d.r) && (c.p==d.p)) return true;
|
|
@@ -35,7 +35,7 @@
|
|
}
|
|
};
|
|
|
|
- struct less<couple>
|
|
+ template <> struct less<couple>
|
|
{
|
|
bool operator()(const couple &c,const couple &d) {
|
|
if (c.r<d.r) return true;
|