remove deleted members from static classes

This is a holdover from C++98. No need anymore

Signed-off-by: Rosen Penev <rosenp@gmail.com>
main
Rosen Penev 2 years ago
parent 6a34d9e57d
commit e309680a86

@ -132,12 +132,6 @@ class EXIV2API IptcDataSets {
static constexpr uint16_t Preview = 202;
//@}
~IptcDataSets() = delete;
//! Prevent copy-construction: not implemented.
IptcDataSets(const IptcDataSets&) = delete;
//! Prevent assignment: not implemented.
IptcDataSets& operator=(const IptcDataSets&) = delete;
/*!
@brief Return the name of the dataset.
@param number The dataset number

@ -657,15 +657,6 @@ class EXIV2API ImageFactory {
false if the data does not match
*/
static bool checkType(ImageType type, BasicIo& io, bool advance);
//! @name Creators
//@{
~ImageFactory() = delete;
//! Prevent copy construction: not implemented.
ImageFactory(const ImageFactory&) = delete;
ImageFactory& operator=(const ImageFactory&) = delete;
//@}
}; // class ImageFactory
// *****************************************************************************

@ -72,12 +72,6 @@ class EXIV2API XmpProperties {
static const XmpNsInfo* lookupNsRegistryUnsafe(const XmpNsInfo::Prefix& prefix);
public:
~XmpProperties() = delete;
//! Prevent copy-construction: not implemented.
XmpProperties(const XmpProperties&) = delete;
//! Prevent assignment: not implemented.
XmpProperties& operator=(const XmpProperties&) = delete;
/*!
@brief Return the title (label) of the property.
@param key The property key

@ -236,12 +236,6 @@ struct EXIV2API TagInfo {
//! Access to Exif group and tag lists and misc. tag reference methods, implemented as a static class.
class EXIV2API ExifTags {
public:
~ExifTags() = delete;
//! Prevent copy-construction: not implemented.
ExifTags(const ExifTags&) = delete;
//! Prevent assignment: not implemented.
ExifTags& operator=(const ExifTags&) = delete;
//! Return read-only list of built-in groups
static const GroupInfo* groupList();
//! Return read-only list of built-in \em groupName tags.

@ -117,12 +117,6 @@ using Blob = std::vector<byte>;
//! Type information lookup functions. Implemented as a static class.
class EXIV2API TypeInfo {
public:
//! Prevent copy-construction: not implemented.
TypeInfo(const TypeInfo&) = delete;
//! Prevent assignment: not implemented.
TypeInfo& operator=(const TypeInfo&) = delete;
~TypeInfo() = delete;
//! Return the name of the type, 0 if unknown.
static const char* typeName(TypeId typeId);
//! Return the type id for a type name

@ -481,12 +481,6 @@ class EXIV2API CommentValue : public StringValueBase {
//! Charset information lookup functions. Implemented as a static class.
class EXIV2API CharsetInfo {
public:
//! Prevent copy-construction: not implemented.
CharsetInfo(const CharsetInfo&) = delete;
//! Prevent assignment: not implemented.
CharsetInfo& operator=(const CharsetInfo&) = delete;
~CharsetInfo() = delete;
//! Return the name for a charset id
static const char* name(CharsetId charsetId);
//! Return the code for a charset id

@ -527,13 +527,6 @@ struct CrwMapping {
*/
class CrwMap {
public:
~CrwMap() = delete;
//! @name Not implemented
//@{
CrwMap(const CrwMap&) = delete;
CrwMap& operator=(const CrwMap&) = delete;
//@}
/*!
@brief Decode image metadata from a CRW entry, convert and add it
to the image metadata. This function converts only one CRW

Loading…
Cancel
Save