nsgml: Resolve symbol collision when building with SunStudio 12.1
This commit is contained in:
parent
55b4e2f240
commit
6715300820
|
|
@ -93,7 +93,14 @@ public:
|
|||
const T &operator*() const { return *Ptr<T>::pointer(); }
|
||||
void swap(ConstPtr<T> &p) { Ptr<T>::swap(p); }
|
||||
using Ptr<T>::isNull;
|
||||
|
||||
#if defined(__SUNPRO_CC) && __SUNPRO_CC == 0x5100
|
||||
/* Needed to avoid symbol export collision */
|
||||
void clear() { Ptr<T>::clear(); }
|
||||
#else
|
||||
using Ptr<T>::clear;
|
||||
#endif
|
||||
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue