v0.27.3
Andreas Huggel 16 years ago
parent 603680b2d1
commit ece0a5c0b1

@ -153,8 +153,8 @@ namespace Exiv2 {
//! Comparison operator to compare a TiffGroupStruct with a TiffGroupStruct::Key //! Comparison operator to compare a TiffGroupStruct with a TiffGroupStruct::Key
bool operator==(const Key& key) const bool operator==(const Key& key) const
{ {
return (Tag::all == extendedTag_ || key.e_ == extendedTag_) return key.g_ == group_
&& key.g_ == group_; && (Tag::all == extendedTag_ || key.e_ == extendedTag_);
} }
//! Return the tag corresponding to the extended tag //! Return the tag corresponding to the extended tag
uint16_t tag() const { return static_cast<uint16_t>(extendedTag_ & 0xffff); } uint16_t tag() const { return static_cast<uint16_t>(extendedTag_ & 0xffff); }

Loading…
Cancel
Save