diff options
Diffstat (limited to 'src/lib/dns/master_lexer.h')
-rw-r--r-- | src/lib/dns/master_lexer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dns/master_lexer.h b/src/lib/dns/master_lexer.h index 31c6443263..e33f9649b8 100644 --- a/src/lib/dns/master_lexer.h +++ b/src/lib/dns/master_lexer.h @@ -22,6 +22,8 @@ #include <stdint.h> +#include <boost/noncopyable.hpp> + namespace isc { namespace dns { namespace master_lexer_internal { @@ -303,7 +305,7 @@ private: /// implementation of the exception handling). For these reasons, some of /// this class does not throw for an error that would be reported as an /// exception in other classes. -class MasterLexer { +class MasterLexer : public boost::noncopyable { friend class master_lexer_internal::State; public: /// \brief Exception thrown when we fail to read from the input |