diff --git a/ebml/EbmlUnicodeString.h b/ebml/EbmlUnicodeString.h index c37bd03f..040fe1a9 100644 --- a/ebml/EbmlUnicodeString.h +++ b/ebml/EbmlUnicodeString.h @@ -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 { diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp index 5a390c2d..3fcacb7e 100644 --- a/src/EbmlUnicodeString.cpp +++ b/src/EbmlUnicodeString.cpp @@ -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();