more delete removals
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
ef82f953c0
commit
d248e1a2af
@ -1383,8 +1383,6 @@ class HttpIo::HttpImpl : public Impl {
|
|||||||
HttpImpl(const std::string& url, size_t blockSize);
|
HttpImpl(const std::string& url, size_t blockSize);
|
||||||
Exiv2::Uri hostInfo_; //!< the host information extracted from the path
|
Exiv2::Uri hostInfo_; //!< the host information extracted from the path
|
||||||
|
|
||||||
~HttpImpl() override = default;
|
|
||||||
|
|
||||||
// METHODS
|
// METHODS
|
||||||
/*!
|
/*!
|
||||||
@brief Get the length (in bytes) of the remote file.
|
@brief Get the length (in bytes) of the remote file.
|
||||||
@ -1415,10 +1413,6 @@ class HttpIo::HttpImpl : public Impl {
|
|||||||
@throw Error if it fails.
|
@throw Error if it fails.
|
||||||
*/
|
*/
|
||||||
void writeRemote(const byte* data, size_t size, size_t from, size_t to) override;
|
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) {
|
HttpIo::HttpImpl::HttpImpl(const std::string& url, size_t blockSize) : Impl(url, blockSize) {
|
||||||
|
|||||||
@ -52,6 +52,9 @@ class Loader {
|
|||||||
//! Virtual destructor.
|
//! Virtual destructor.
|
||||||
virtual ~Loader() = default;
|
virtual ~Loader() = default;
|
||||||
|
|
||||||
|
Loader(const Loader&) = delete;
|
||||||
|
Loader& operator=(const Loader&) = delete;
|
||||||
|
|
||||||
//! Loader auto pointer
|
//! Loader auto pointer
|
||||||
using UniquePtr = std::unique_ptr<Loader>;
|
using UniquePtr = std::unique_ptr<Loader>;
|
||||||
|
|
||||||
@ -206,10 +209,6 @@ class LoaderTiff : public Loader {
|
|||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
LoaderTiff(PreviewId id, const Image& image, int parIdx);
|
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
|
//! Get properties of a preview image with given params
|
||||||
[[nodiscard]] PreviewProperties getProperties() const override;
|
[[nodiscard]] PreviewProperties getProperties() const override;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user