Kaydet (Commit) 926392de authored tarafından Miklos Vajna's avatar Miklos Vajna

PropertyNameSupplier: use std::unique_ptr<>

Change-Id: I1e4cf3241bee20677f61ea334efc3aa4e490a016
üst b1a9498a
......@@ -34,14 +34,13 @@ struct PropertyNameSupplier_Impl
PropertyNameSupplier::PropertyNameSupplier() :
m_pImpl(new PropertyNameSupplier_Impl)
m_pImpl(new PropertyNameSupplier_Impl())
{
}
PropertyNameSupplier::~PropertyNameSupplier()
{
delete m_pImpl;
}
......
......@@ -19,6 +19,7 @@
#ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYIDS_HXX
#define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_PROPERTYIDS_HXX
#include <memory>
namespace writerfilter {
namespace dmapper{
......@@ -380,7 +381,7 @@ enum PropertyIds
struct PropertyNameSupplier_Impl;
class PropertyNameSupplier
{
PropertyNameSupplier_Impl* m_pImpl;
std::unique_ptr<PropertyNameSupplier_Impl> m_pImpl;
public:
PropertyNameSupplier();
~PropertyNameSupplier();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment