mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
nsgml: Resolve symbol collision when building with SunStudio 12.1
This commit is contained in:
parent
55b4e2f240
commit
6715300820
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue