clang: remove pointless ; at the end of function
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
5be42f132c
commit
7575300732
@ -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_;
|
||||||
};
|
}
|
||||||
|
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user