From 90a9f7099f26827644b9fa6d4f386b9cb6e88e92 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 21 Jan 2014 21:05:37 +0100 Subject: forbid copying a DabInputCompatible --- src/dabInput.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dabInput.h b/src/dabInput.h index 4ccbac9..56d3fbf 100644 --- a/src/dabInput.h +++ b/src/dabInput.h @@ -66,6 +66,9 @@ class DabInputCompatible : public DabInputBase { virtual ~DabInputCompatible() { m_ops.clean(&args); } + DabInputCompatible& operator=(const DabInputCompatible& other); + DabInputCompatible(const DabInputCompatible& other); + virtual int open(const std::string name) { return m_ops.open(args, name.c_str()); } -- cgit v1.2.3