diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-01-10 15:27:33 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-01-10 15:27:33 +0000 |
commit | c80e6a0631fb7dce42c5cf792c99118b25a0b880 (patch) | |
tree | 60a0fa1fe85f948119ce0a8f901160d8f2d6eaa1 /textproc/jade/files/patch-Ptr.h | |
parent | Do not abuse INSTALL_MAN when installing documentation, examples, and (diff) |
textproc/jade: back out r458645 to avoid churn
Reported by: danfe
Notes
Notes:
svn path=/head/; revision=458647
Diffstat (limited to 'textproc/jade/files/patch-Ptr.h')
-rw-r--r-- | textproc/jade/files/patch-Ptr.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/jade/files/patch-Ptr.h b/textproc/jade/files/patch-Ptr.h new file mode 100644 index 000000000000..09c8940b63de --- /dev/null +++ b/textproc/jade/files/patch-Ptr.h @@ -0,0 +1,21 @@ +--- include/Ptr.h.orig Wed Oct 7 14:15:50 1998 ++++ include/Ptr.h Tue Jul 22 09:19:49 2003 +@@ -5,6 +5,7 @@ + #define Ptr_INCLUDED 1 + + #include "Boolean.h" ++#include "Resource.h" + + // T must have Resource as a public base class + // T may be an incomplete type +@@ -69,8 +70,8 @@ class ConstPtr : private Ptr<T> { (public) + const T *operator->() const { return Ptr<T>::pointer(); } + const T &operator*() const { return *Ptr<T>::pointer(); } + void swap(ConstPtr<T> &p) { Ptr<T>::swap(p); } +- Ptr<T>::isNull; +- Ptr<T>::clear; ++ using Ptr<T>::isNull; ++ using Ptr<T>::clear; + Boolean operator==(const Ptr<T> &p) const { return Ptr<T>::operator==(p); } + Boolean operator!=(const Ptr<T> &p) const { return Ptr<T>::operator!=(p); } + Boolean operator==(const ConstPtr<T> &p) const { |