diff options
author | Brad King <brad.king@kitware.com> | 2005-04-14 03:04:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-14 03:04:23 (GMT) |
commit | 4fe07aa48137db08a862dfe9d741c5bc59ea3d4a (patch) | |
tree | 916359abc568c039ecbedeb985a2311578fafdfd /Source/kwsys/hashtable.hxx.in | |
parent | caac6c78b4dd2e193e5264edd809c18e0003cd94 (diff) | |
download | CMake-4fe07aa48137db08a862dfe9d741c5bc59ea3d4a.zip CMake-4fe07aa48137db08a862dfe9d741c5bc59ea3d4a.tar.gz CMake-4fe07aa48137db08a862dfe9d741c5bc59ea3d4a.tar.bz2 |
COMP: Remove friend templates and always use template friends (possibly with <>). Needed to work-around Sun CC bug.
Diffstat (limited to 'Source/kwsys/hashtable.hxx.in')
-rw-r--r-- | Source/kwsys/hashtable.hxx.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index 033bcfd..80f633c 100644 --- a/Source/kwsys/hashtable.hxx.in +++ b/Source/kwsys/hashtable.hxx.in @@ -426,14 +426,8 @@ public: const_iterator end() const { return const_iterator(0, this); } -#if @KWSYS_NAMESPACE@_CXX_HAS_MEMBER_TEMPLATES - template <class _Vl, class _Ky, class _HF, class _Ex, class _Eq, class _Al> - friend bool operator== (const hashtable<_Vl, _Ky, _HF, _Ex, _Eq, _Al>&, - const hashtable<_Vl, _Ky, _HF, _Ex, _Eq, _Al>&); -#else friend bool operator==@KWSYS_NAMESPACE@_CXX_NULL_TEMPLATE_ARGS(const hashtable&, const hashtable&); -#endif public: |