Skip to content

Commit

Permalink
clang: remove pointless ; at the end of function
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb committed Jul 6, 2022
1 parent 5be42f1 commit 7575300
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/exiv2/xmp_exiv2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,23 +222,23 @@ class EXIV2API XmpData {
//! are we to use the packet?
[[nodiscard]] bool usePacket() const {
return usePacket_;
};
}

//! set usePacket_
bool usePacket(bool b) {
bool r = usePacket_;
usePacket_ = b;
return r;
};
}
//! setPacket
void setPacket(std::string xmpPacket) {
xmpPacket_ = std::move(xmpPacket);
usePacket(false);
};
}
// ! getPacket
[[nodiscard]] const std::string& xmpPacket() const {
return xmpPacket_;
};
}

//@}

Expand Down

0 comments on commit 7575300

Please sign in to comment.