|
|
@ -264,6 +264,9 @@ ExifKey::ExifKey(const std::string& key) : p_(std::make_unique<Impl>()) {
|
|
|
|
ExifKey::ExifKey(const ExifKey& rhs) : p_(std::make_unique<Impl>(*rhs.p_)) {
|
|
|
|
ExifKey::ExifKey(const ExifKey& rhs) : p_(std::make_unique<Impl>(*rhs.p_)) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExifKey::ExifKey(ExifKey&& rhs) : p_(std::make_unique<Impl>(*rhs.p_)) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ExifKey::~ExifKey() = default;
|
|
|
|
ExifKey::~ExifKey() = default;
|
|
|
|
|
|
|
|
|
|
|
|
ExifKey& ExifKey::operator=(const ExifKey& rhs) {
|
|
|
|
ExifKey& ExifKey::operator=(const ExifKey& rhs) {
|
|
|
@ -274,6 +277,14 @@ ExifKey& ExifKey::operator=(const ExifKey& rhs) {
|
|
|
|
return *this;
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExifKey& ExifKey::operator=(ExifKey&& rhs) {
|
|
|
|
|
|
|
|
if (this == &rhs)
|
|
|
|
|
|
|
|
return *this;
|
|
|
|
|
|
|
|
*p_ = *rhs.p_;
|
|
|
|
|
|
|
|
Key::operator=(std::move(rhs));
|
|
|
|
|
|
|
|
return *this;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ExifKey::setIdx(int idx) {
|
|
|
|
void ExifKey::setIdx(int idx) {
|
|
|
|
p_->idx_ = idx;
|
|
|
|
p_->idx_ = idx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|