diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-16 10:40:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-16 10:40:12 +0100 |
| commit | bb949ec65adf95f4a2c7dd5ee7e97b9daaaf3d3f (patch) | |
| tree | 09153b297f7cebd3f13ab58188982366185298f6 /src/lib/digester.h | |
| parent | 39d51cddeeea82e602ab1925430b0dfb5752ac79 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/digester.h')
| -rw-r--r-- | src/lib/digester.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/digester.h b/src/lib/digester.h index 6cdaf2331..e4daabd68 100644 --- a/src/lib/digester.h +++ b/src/lib/digester.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2016 Carl Hetherington <cth@carlh.net> + Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,17 +18,21 @@ */ + #include <nettle/md5.h> -#include <boost/noncopyable.hpp> #include <boost/optional.hpp> #include <string> -class Digester : public boost::noncopyable + +class Digester { public: Digester (); ~Digester (); + Digester (Digester const&) = delete; + Digester& operator= (Digester const&) = delete; + void add (void const * data, size_t size); template <class T> |
