clang: remove pointless ; at the end of function

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2022-07-04 21:45:06 -07:00
parent 5be42f132c
commit 7575300732

View File

@ -222,23 +222,23 @@ class EXIV2API XmpData {
//! are we to use the packet? //! are we to use the packet?
[[nodiscard]] bool usePacket() const { [[nodiscard]] bool usePacket() const {
return usePacket_; return usePacket_;
}; }
//! set usePacket_ //! set usePacket_
bool usePacket(bool b) { bool usePacket(bool b) {
bool r = usePacket_; bool r = usePacket_;
usePacket_ = b; usePacket_ = b;
return r; return r;
}; }
//! setPacket //! setPacket
void setPacket(std::string xmpPacket) { void setPacket(std::string xmpPacket) {
xmpPacket_ = std::move(xmpPacket); xmpPacket_ = std::move(xmpPacket);
usePacket(false); usePacket(false);
}; }
// ! getPacket // ! getPacket
[[nodiscard]] const std::string& xmpPacket() const { [[nodiscard]] const std::string& xmpPacket() const {
return xmpPacket_; return xmpPacket_;
}; }
//@} //@}