Explicitly set copy & move constructors to default for Printer
This commit is contained in:
@@ -33,12 +33,14 @@ namespace ptprnt::printer {
|
||||
|
||||
class P700Printer : public ::ptprnt::IPrinterDriver {
|
||||
public:
|
||||
P700Printer();
|
||||
P700Printer() = default;
|
||||
~P700Printer();
|
||||
|
||||
// delete copy ctor and assignment
|
||||
P700Printer(const P700Printer&) = delete;
|
||||
P700Printer& operator=(P700Printer&) = delete;
|
||||
P700Printer(const P700Printer&) = default;
|
||||
P700Printer& operator=(const P700Printer&) = default;
|
||||
P700Printer(P700Printer&&) = default;
|
||||
P700Printer& operator=(P700Printer&&) = default;
|
||||
|
||||
// IPrinterDriver
|
||||
const std::string_view getDriverName() override;
|
||||
|
Reference in New Issue
Block a user