From: Adam Dickmeiss Date: Thu, 9 Jun 2011 11:02:55 +0000 (+0200) Subject: Make 3 classes: noncopyable X-Git-Tag: v1.2.6~14 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=cd54d9cec3b4db6f3b39e7d506c7d88877d54fc7;p=metaproxy-moved-to-github.git Make 3 classes: noncopyable --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 3579621..bce817c 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -40,7 +40,7 @@ namespace yf = mp::filter; namespace metaproxy_1 { namespace filter { - struct Zoom::Searchable { + struct Zoom::Searchable : boost::noncopyable { std::string database; std::string target; std::string query_encoding; @@ -55,7 +55,7 @@ namespace metaproxy_1 { Searchable(); ~Searchable(); }; - class Zoom::Backend { + class Zoom::Backend : boost::noncopyable { friend class Impl; friend class Frontend; std::string zurl; @@ -75,7 +75,7 @@ namespace metaproxy_1 { void set_option(const char *name, const char *value); int get_error(const char **addinfo); }; - class Zoom::Frontend { + class Zoom::Frontend : boost::noncopyable { friend class Impl; Impl *m_p; bool m_is_virtual;