diff options
Diffstat (limited to 'src/filters/filter.h')
-rw-r--r-- | src/filters/filter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters/filter.h b/src/filters/filter.h index 2bbaf155c..c7003b92c 100644 --- a/src/filters/filter.h +++ b/src/filters/filter.h @@ -77,9 +77,6 @@ class BOTAN_DLL Filter Filter(); private: - Filter(const Filter&) {} - Filter& operator=(const Filter&) { return (*this); } - /** * Start a new message in *this and all following filters. Only for * internal use, not intended for use in client applications. @@ -95,6 +92,9 @@ class BOTAN_DLL Filter friend class Pipe; friend class Fanout_Filter; + Filter(const Filter&) = delete; + Filter& operator=(const Filter&) = delete; + size_t total_ports() const; size_t current_port() const { return port_num; } |