signal: add default move and copy operators

This commit is contained in:
Danny Robson 2019-03-13 14:07:51 +11:00
parent b1076d07ce
commit 488646bee7

View File

@ -114,6 +114,14 @@ namespace cruft {
public:
signal () = default;
signal (signal const&) = default;
signal& operator= (signal const&) = default;
signal (signal &&) noexcept = default;
signal& operator= (signal &&) noexcept = default;
~signal ()
{
CHECK (empty ());