#define MAKE_NONCOPYABLE(type) \
private: \
type(const type&); \
- type& operator=(const type&);
+ type& operator=(const type&)
#ifndef DOXYGEN_SKIP
#ifndef NULL
*
* @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;}
};
/**
*
* @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);}
};
};
#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);