git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3580
cb58f699-b61c-0410-a6fe-
9272a202ed29
#include <map>
#include <vector>
#include <iostream>
+#include <boost/scoped_ptr.hpp>
namespace xmltooling {
class XMLTOOL_API Mutex;
virtual void write(const Event& e);
private:
- xmltooling::Mutex* m_lock;
+ boost::scoped_ptr<xmltooling::Mutex> m_lock;
std::string m_absent;
std::vector<std::string> m_formatting;
};
TransactionLog::~TransactionLog()
{
- delete m_lock;
}
Lockable* TransactionLog::lock()