use = delete and move to public
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
c17e2a1a5a
commit
1fbe4b7bbd
@ -65,19 +65,19 @@ struct EXIV2API XmpNsInfo {
|
||||
|
||||
//! XMP property reference, implemented as a static class.
|
||||
class EXIV2API XmpProperties {
|
||||
//! Prevent construction: not implemented.
|
||||
XmpProperties();
|
||||
//! Prevent copy-construction: not implemented.
|
||||
XmpProperties(const XmpProperties& rhs);
|
||||
//! Prevent assignment: not implemented.
|
||||
XmpProperties& operator=(const XmpProperties& rhs);
|
||||
|
||||
private:
|
||||
static const XmpNsInfo* nsInfoUnsafe(const std::string& prefix);
|
||||
static void unregisterNsUnsafe(const std::string& ns);
|
||||
static const XmpNsInfo* lookupNsRegistryUnsafe(const XmpNsInfo::Prefix& prefix);
|
||||
|
||||
public:
|
||||
//! Prevent construction: not implemented.
|
||||
XmpProperties() = delete;
|
||||
//! Prevent copy-construction: not implemented.
|
||||
XmpProperties(const XmpProperties&) = delete;
|
||||
//! Prevent assignment: not implemented.
|
||||
XmpProperties& operator=(const XmpProperties& rhs) = delete;
|
||||
|
||||
/*!
|
||||
@brief Return the title (label) of the property.
|
||||
@param key The property key
|
||||
|
||||
Loading…
Reference in New Issue
Block a user