diff options
Diffstat (limited to 'tests/framework/printers/Printer.h')
-rw-r--r-- | tests/framework/printers/Printer.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/framework/printers/Printer.h b/tests/framework/printers/Printer.h index cb0aa1e4c2..cbe22fb2a6 100644 --- a/tests/framework/printers/Printer.h +++ b/tests/framework/printers/Printer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -55,11 +55,16 @@ public: */ Printer(std::ostream &stream); + /** Prevent instances of this class from being copy constructed */ Printer(const Printer &) = delete; + /** Prevent instances of this class from being copied */ Printer &operator=(const Printer &) = delete; - Printer(Printer &&) = default; + /** Allow instances of this class to be move constructed */ + Printer(Printer &&) = default; + /** Allow instances of this class to be moved */ Printer &operator=(Printer &&) = default; + /** Default destructor. */ virtual ~Printer() = default; /** Print given string. |