vcpkg/ports/libopensp/use-cpp-using-declarations.patch
Billy O'Neal cf20e29526
Update macOS for January 2024 (#35617)
macOS 14.2.1 on amd64, 14.3 on arm64
XCode Console Tools 15.1

Other changes:

macOS install is done from the installers rather than from the recovery partition
readme.md is now written for a vcpkg-team audience
vagrant is removed as a dependency so that discussion of how to persist the VMs between machines could be included
arm64 is added using https://github.com/s-u/macosvm
2024-01-25 10:50:32 -08:00

73 lines
2.0 KiB
Diff

diff --git a/include/IList.h b/include/IList.h
index e66cd00..c94cfed 100644
--- a/include/IList.h
+++ b/include/IList.h
@@ -26,7 +26,9 @@ public:
void swap(IList<T> &list) { IListBase::swap(list); }
T *head() const { return (T *)IListBase::head(); }
T *get() { return (T *)IListBase::get(); }
+ using
IListBase::clear;
+ using
IListBase::empty;
friend class IListIter<T>;
private:
diff --git a/include/IListIter.h b/include/IListIter.h
index 74e1bd6..d322bf8 100644
--- a/include/IListIter.h
+++ b/include/IListIter.h
@@ -17,7 +17,9 @@ public:
IListIter(const IList<T> &list) : IListIterBase(list) { }
T *cur() const { return (T *)IListIterBase::cur(); }
+ using
IListIterBase::next;
+ using
IListIterBase::done;
};
diff --git a/include/Ptr.h b/include/Ptr.h
index c6b2767..5dda0ca 100644
--- a/include/Ptr.h
+++ b/include/Ptr.h
@@ -69,7 +69,9 @@ 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); }
+ 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); }
diff --git a/lib/Parser.h b/lib/Parser.h
index e721000..c6c41b2 100644
--- a/lib/Parser.h
+++ b/lib/Parser.h
@@ -62,15 +62,25 @@ public:
Parser(const SgmlParser::Params &);
Event *nextEvent();
void parseAll(EventHandler &, const volatile sig_atomic_t *cancelPtr);
+ using
ParserState::sdPointer;
+ using
ParserState::instanceSyntaxPointer;
+ using
ParserState::prologSyntaxPointer;
+ using
ParserState::activateLinkType;
+ using
ParserState::allLinkTypesActivated;
+ using
ParserState::entityManager;
+ using
ParserState::entityCatalog;
+ using
ParserState::baseDtd;
+ using
ParserState::options;
+ using
ParserState::instantiateDtd;
friend class PiAttspecParser;
private: