opnsense-ports/textproc/opensp/files/patch-include_IList.h
Franco Fichtner 9f1182f5f5 */*: sync with upstream
Taken from: HardenedBSD
2018-02-04 12:49:34 +01: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