remove base constructor

Maybe works now

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-02-09 12:00:49 -08:00
parent e1ac00a71f
commit 31165b6a01
4 changed files with 2 additions and 10 deletions

View File

@ -256,11 +256,6 @@ class EXIV2API IptcKey : public Key {
@param record Record id
*/
IptcKey(uint16_t tag, uint16_t record);
//! Copy constructor
IptcKey(const IptcKey& rhs);
IptcKey& operator=(const IptcKey&) = default;
//! Destructor
~IptcKey() override = default;
//@}
//! @name Accessors

View File

@ -508,9 +508,6 @@ IptcKey::IptcKey(uint16_t tag, uint16_t record) : tag_(tag), record_(record) {
makeKey();
}
IptcKey::IptcKey(const IptcKey& rhs) : Key(), tag_(rhs.tag_), record_(rhs.record_), key_(rhs.key_) {
}
std::string IptcKey::key() const {
return key_;
}

View File

@ -5155,7 +5155,7 @@ XmpKey::XmpKey(const std::string& prefix, const std::string& property) : p_(std:
XmpKey::~XmpKey() = default;
XmpKey::XmpKey(const XmpKey& rhs) : Key(), p_(std::make_unique<Impl>(*rhs.p_)) {
XmpKey::XmpKey(const XmpKey& rhs) : p_(std::make_unique<Impl>(*rhs.p_)) {
}
XmpKey& XmpKey::operator=(const XmpKey& rhs) {

View File

@ -261,7 +261,7 @@ ExifKey::ExifKey(const std::string& key) : p_(std::make_unique<Impl>()) {
p_->decomposeKey(key);
}
ExifKey::ExifKey(const ExifKey& rhs) : Key(), p_(std::make_unique<Impl>(*rhs.p_)) {
ExifKey::ExifKey(const ExifKey& rhs) : p_(std::make_unique<Impl>(*rhs.p_)) {
}
ExifKey::~ExifKey() = default;