From e3e3053f32cb89714c372b15bbd8c22e1c0a6513 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 5 Feb 2014 19:30:58 +0100 Subject: storage/Interface: explicitly delete copy constructors --- src/storage/StorageInterface.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/storage/StorageInterface.hxx') 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, -- cgit v1.2.3