diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2004-08-13 17:39:32 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2004-08-13 17:39:32 +0000 |
| commit | 41035190f0bb3777daee8482f3a45f99bb9c371e (patch) | |
| tree | 7ec5f82f4ae41b29870c001bb843f048a257fa88 /math/libmath++/files/patch-math-nodes.h | |
| parent | Fix build with GCC 3.4.2. Note: patches were submitted by someone else, (diff) | |
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
Diffstat (limited to 'math/libmath++/files/patch-math-nodes.h')
| -rw-r--r-- | math/libmath++/files/patch-math-nodes.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/libmath++/files/patch-math-nodes.h b/math/libmath++/files/patch-math-nodes.h new file mode 100644 index 000000000000..638e6df4314b --- /dev/null +++ b/math/libmath++/files/patch-math-nodes.h @@ -0,0 +1,11 @@ +--- 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> |
