ports/textproc/opensp/files/patch-include_Ptr.h
Guido Falsi ee08fc60e5 - Fix opensp build with clang 6
- While here convert to USES=localbase

PR:		225307
Submitted by:	me
Approved by:	Maintainer timeout
2018-02-03 13:36:44 +00:00

13 lines
594 B
C

--- include/Ptr.h.orig 2005-07-21 14:04:39 UTC
+++ include/Ptr.h
@@ -69,8 +69,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 {