more delete removals

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-02-01 19:03:16 -08:00
parent ef82f953c0
commit d248e1a2af
2 changed files with 3 additions and 10 deletions

View File

@ -1383,8 +1383,6 @@ class HttpIo::HttpImpl : public Impl {
HttpImpl(const std::string& url, size_t blockSize);
Exiv2::Uri hostInfo_; //!< the host information extracted from the path
~HttpImpl() override = default;
// METHODS
/*!
@brief Get the length (in bytes) of the remote file.
@ -1415,10 +1413,6 @@ class HttpIo::HttpImpl : public Impl {
@throw Error if it fails.
*/
void writeRemote(const byte* data, size_t size, size_t from, size_t to) override;
// NOT IMPLEMENTED
HttpImpl(const HttpImpl&) = delete; //!< Copy constructor
HttpImpl& operator=(const HttpImpl&) = delete; //!< Assignment
};
HttpIo::HttpImpl::HttpImpl(const std::string& url, size_t blockSize) : Impl(url, blockSize) {

View File

@ -52,6 +52,9 @@ class Loader {
//! Virtual destructor.
virtual ~Loader() = default;
Loader(const Loader&) = delete;
Loader& operator=(const Loader&) = delete;
//! Loader auto pointer
using UniquePtr = std::unique_ptr<Loader>;
@ -206,10 +209,6 @@ class LoaderTiff : public Loader {
public:
//! Constructor
LoaderTiff(PreviewId id, const Image& image, int parIdx);
~LoaderTiff() override = default;
LoaderTiff(const LoaderTiff&) = delete;
LoaderTiff& operator=(const LoaderTiff&) = delete;
//! Get properties of a preview image with given params
[[nodiscard]] PreviewProperties getProperties() const override;