diff --git a/src/dom/ParentNode.cpp b/src/dom/ParentNode.cpp index a8b9eea88bf7eb96305477e8db31e14cfabd0a02..f4279e5b69305062b332d2a211227644b068ebbb 100644 --- a/src/dom/ParentNode.cpp +++ b/src/dom/ParentNode.cpp @@ -68,5 +68,3 @@ #define PARENT_CLASS NodeImpl #include "CommonParentNode.cpp" - - \ No newline at end of file diff --git a/src/util/BitOps.hpp b/src/util/BitOps.hpp index 88a8c937f0c2187002fe162cdf256a7993fde1a1..a0d5a69039cf64e16fa6e4e5a66663c74cb6605f 100644 --- a/src/util/BitOps.hpp +++ b/src/util/BitOps.hpp @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.7 2000/09/06 00:24:15 andyh + * Clean up misc compiler warnings + * * Revision 1.6 2000/03/02 19:54:38 roddey * This checkin includes many changes done while waiting for the * 1.1.0 code to be finished. I can't list them all here, but a list is @@ -112,9 +115,11 @@ public: -private : +protected : // ----------------------------------------------------------------------- - // Unimplemented constructors and operators + // Unimplemented constructors and operators. (These ought to be private, + // but that produces spurious compiler warnings + // on some platforms.) // ----------------------------------------------------------------------- BitOps(); BitOps(const BitOps&); diff --git a/src/util/HashPtr.cpp b/src/util/HashPtr.cpp index aed09b109ee0a5a9c8151129c7e12fc2bd9148d0..b4d898380ead23e17160d275d2b23b600dc9be8a 100644 --- a/src/util/HashPtr.cpp +++ b/src/util/HashPtr.cpp @@ -73,4 +73,4 @@ unsigned int HashPtr::getHashVal(const void *const key, unsigned int mod) bool HashPtr::equals(const void *const key1, const void *const key2) { return (key1 == key2); -} \ No newline at end of file +} diff --git a/src/util/HashXMLCh.cpp b/src/util/HashXMLCh.cpp index ae94b492853ab732536da86bc82be47aec20d281..b7e9a78a7dffb8bc906f828820fa98f9a85e650f 100644 --- a/src/util/HashXMLCh.cpp +++ b/src/util/HashXMLCh.cpp @@ -73,4 +73,4 @@ unsigned int HashXMLCh::getHashVal(const void *const key, unsigned int mod) bool HashXMLCh::equals(const void *const key1, const void *const key2) { return (XMLString::compareString((XMLCh*)key1, (XMLCh*)key2) == 0) ? true : false; -} \ No newline at end of file +} diff --git a/src/util/RefHashTableOf.c b/src/util/RefHashTableOf.c index fa8e506fdaf5e032bcd4f5953c33678a80f831c0..0031deea94efbc2333f6f864c09393c05c5955b2 100644 --- a/src/util/RefHashTableOf.c +++ b/src/util/RefHashTableOf.c @@ -56,6 +56,9 @@ /** * $Log$ + * Revision 1.7 2000/09/06 00:24:16 andyh + * Clean up misc compiler warnings + * * Revision 1.6 2000/07/07 22:16:50 jpolast * remove old put(value) function. use put(key,value) instead. * @@ -188,6 +191,9 @@ template <class TVal> void RefHashTableOf<TVal>::removeAll() nextElem = curElem->fNext; // If we adopted the data, then delete it too + // (Note: the userdata hash table instance has data type of void *. + // This will generate compiler warnings here on some platforms, but they + // can be ignored since fAdoptedElements is false. if (fAdoptedElems) delete curElem->fData;