Skip to content

Commit

Permalink
UTFstring: use defaulted destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mbunkus committed Dec 22, 2023
1 parent 33ed443 commit 1a17e30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion ebml/EbmlUnicodeString.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class EBML_DLL_API UTFstring {
UTFstring(const UTFstring &);
UTFstring(std::wstring const &);

virtual ~UTFstring();
virtual ~UTFstring() = default;
bool operator==(const UTFstring&) const;
inline bool operator!=(const UTFstring &cmp) const
{
Expand Down
4 changes: 0 additions & 4 deletions src/EbmlUnicodeString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ UTFstring::UTFstring(std::wstring const &_aBuf)
*this = _aBuf.c_str();
}

UTFstring::~UTFstring()
{
}

UTFstring::UTFstring(const UTFstring & _aBuf)
{
*this = _aBuf.c_str();
Expand Down

0 comments on commit 1a17e30

Please sign in to comment.