use boost::noncopyable
This commit is contained in:
parent
30c713d639
commit
5e2aa3fc60
1 changed files with 2 additions and 4 deletions
|
@ -23,10 +23,11 @@
|
|||
|
||||
#include <ltdl.h>
|
||||
#include <string>
|
||||
#include <boost/utility.hpp>
|
||||
|
||||
namespace mapnik
|
||||
{
|
||||
class PluginInfo
|
||||
class PluginInfo : boost::noncopyable
|
||||
{
|
||||
private:
|
||||
std::string name_;
|
||||
|
@ -37,9 +38,6 @@ namespace mapnik
|
|||
~PluginInfo();
|
||||
const std::string& name() const;
|
||||
lt_dlhandle handle() const;
|
||||
private:
|
||||
PluginInfo(const PluginInfo&);
|
||||
PluginInfo& operator=(const PluginInfo&);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue