From cd54d9cec3b4db6f3b39e7d506c7d88877d54fc7 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 9 Jun 2011 13:02:55 +0200 Subject: [PATCH] Make 3 classes: noncopyable --- src/filter_zoom.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 1.7.10.4