clang-tidy: use = default

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
main
Rosen Penev 4 years ago committed by Christoph Hasse
parent e53548a95a
commit 7a2b05e813

@ -40,7 +40,7 @@ namespace Exiv2
struct Iloc
{
Iloc(uint32_t ID = 0, uint32_t start = 0, uint32_t length = 0) : ID_(ID), start_(start), length_(length){};
virtual ~Iloc(){};
virtual ~Iloc() = default;
uint32_t ID_;
uint32_t start_;

@ -367,9 +367,7 @@ namespace Exiv2 {
}
template <typename charT>
BasicError<charT>::~BasicError() throw()
{
}
BasicError<charT>::~BasicError() throw() = default;
template<typename charT>
int BasicError<charT>::code() const throw()

Loading…
Cancel
Save