Skip to content
Snippets Groups Projects
Commit 693b05fc authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: fix unitialized member variable & non deleted copy ctor

parent 5f04ba3c
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ public:
}
protected:
CurlFileDescriptorResource(){}
CurlFileDescriptorResource(): m_File(nullptr) {}
~CurlFileDescriptorResource() override
{
......@@ -195,9 +195,9 @@ protected:
private:
FILE * m_File;
// prevent copying and assignment; not implemented
CurlFileDescriptorResource (const CurlFileDescriptorResource &);
CurlFileDescriptorResource & operator= (const CurlFileDescriptorResource &);
// prevent copying and assignment
CurlFileDescriptorResource (const CurlFileDescriptorResource &) = delete;
CurlFileDescriptorResource & operator= (const CurlFileDescriptorResource &) = delete;
}; //end of class FileResource
#endif // OTB_USE_CURL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment