aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage/StorageInterface.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-05 19:30:58 +0100
committerMax Kellermann <max@duempel.org>2014-02-05 19:30:58 +0100
commite3e3053f32cb89714c372b15bbd8c22e1c0a6513 (patch)
tree51c2b8d3563bcb43757db8dc7bd426b0c600f105 /src/storage/StorageInterface.hxx
parentc8c3f208405e6ceb2d608bdb9e6d9d4377d9aee6 (diff)
downloadmpd-e3e3053f32cb89714c372b15bbd8c22e1c0a6513.tar.gz
mpd-e3e3053f32cb89714c372b15bbd8c22e1c0a6513.tar.xz
mpd-e3e3053f32cb89714c372b15bbd8c22e1c0a6513.zip
storage/Interface: explicitly delete copy constructors
Diffstat (limited to 'src/storage/StorageInterface.hxx')
-rw-r--r--src/storage/StorageInterface.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/storage/StorageInterface.hxx b/src/storage/StorageInterface.hxx
index ecdc882b6..18bee8cfd 100644
--- a/src/storage/StorageInterface.hxx
+++ b/src/storage/StorageInterface.hxx
@@ -31,6 +31,8 @@ class AllocatedPath;
class StorageDirectoryReader {
public:
+ StorageDirectoryReader() = default;
+ StorageDirectoryReader(const StorageDirectoryReader &) = delete;
virtual ~StorageDirectoryReader() {}
virtual const char *Read() = 0;
@@ -39,6 +41,8 @@ public:
class Storage {
public:
+ Storage() = default;
+ Storage(const Storage &) = delete;
virtual ~Storage() {}
virtual bool GetInfo(const char *uri_utf8, bool follow, FileInfo &info,