Missing signal header, tighten up template for map cleanup.
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Fri, 11 May 2007 00:01:22 +0000 (00:01 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Fri, 11 May 2007 00:01:22 +0000 (00:01 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@303 de75baf8-a10c-0410-a50a-987c0e22f00f

xmltooling/base.h
xmltooling/util/Threads.h

index 4c6e8dc..cb13d98 100644 (file)
@@ -77,7 +77,7 @@
 #define MAKE_NONCOPYABLE(type) \
     private: \
         type(const type&); \
-        type& operator=(const type&);
+        type& operator=(const type&)
 
 #ifndef DOXYGEN_SKIP
 #ifndef NULL
@@ -1509,7 +1509,7 @@ namespace xmltooling {
          * 
          * @param p   a pair in which the second component is the object to delete
          */
-        void operator()(const std::pair<A,B*>& p) {delete p.second;}
+        void operator()(const std::pair<const A,B*>& p) {delete p.second;}
     };
 
     /**
@@ -1522,7 +1522,7 @@ namespace xmltooling {
          * 
          * @param p   a pair in which the second component is the const object to delete
          */
-        void operator()(const std::pair<A,const B*>& p) {delete const_cast<B*>(p.second);}
+        void operator()(const std::pair<const A,const B*>& p) {delete const_cast<B*>(p.second);}
     };
 };
 
index f6fe5ff..40bd093 100644 (file)
@@ -26,6 +26,8 @@
 #include <xmltooling/base.h>
 #include <xmltooling/exceptions.h>
 
+#include <signal.h>\r
+
 namespace xmltooling
 {
     DECL_XMLTOOLING_EXCEPTION(ThreadingException,XMLTOOL_EXCEPTIONAPI(XMLTOOL_API),xmltooling,XMLToolingException,Exceptions during threading/locking operations);