ports/textproc/opensp/files/patch-include_IList.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
461 B
C++

--- include/IList.h.orig 2005-07-21 14:04:38 UTC
+++ include/IList.h
@@ -26,8 +26,8 @@ class IList : private IListBase { (public)
void swap(IList<T> &list) { IListBase::swap(list); }
T *head() const { return (T *)IListBase::head(); }
T *get() { return (T *)IListBase::get(); }
- IListBase::clear;
- IListBase::empty;
+ using IListBase::clear;
+ using IListBase::empty;
friend class IListIter<T>;
private:
IList(const IList<T> &); // undefined