1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/math/libmath++/files/patch-math-nodes.h
John Baldwin 41035190f0 Add patches to quiet new warnings and errors from gcc 3.4.2. The patches
have been fed upstream to the maintainer and will hopefully be included
in future releases.

Prodded by:	pointyhat via kris
2004-08-13 17:39:32 +00:00

12 lines
393 B
C++

--- math++/nodes.h.orig Fri Aug 13 12:59:11 2004
+++ math++/nodes.h Fri Aug 13 12:59:31 2004
@@ -130,7 +130,7 @@
TNode<T> *get() const { return FCurrent; }
TNodeIterator<T>& operator++() { increment(); return *this; }
- TNodeIterator<T>& operator--() { declrement(); return *this; }
+ TNodeIterator<T>& operator--() { decrement(); return *this; }
};
template<typename T>