Make wxMBConv dtor inline
The Darwin linking problem mentioned in the comment doesn't exist in any of the still supported macOS versions, so it doesn't make sense to continue working around it.
This commit is contained in:
parent
b3fe07942f
commit
8bf239f8e4
2 changed files with 1 additions and 6 deletions
|
|
@ -160,7 +160,7 @@ public:
|
|||
virtual wxMBConv *Clone() const = 0;
|
||||
|
||||
// virtual dtor for any base class
|
||||
virtual ~wxMBConv();
|
||||
virtual ~wxMBConv() { }
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -394,11 +394,6 @@ size_t wxMBConv::WC2MB(char *outBuff, const wchar_t *inBuff, size_t outLen) cons
|
|||
return rc;
|
||||
}
|
||||
|
||||
wxMBConv::~wxMBConv()
|
||||
{
|
||||
// nothing to do here (necessary for Darwin linking probably)
|
||||
}
|
||||
|
||||
wxWCharBuffer wxMBConv::cMB2WC(const char *psz) const
|
||||
{
|
||||
if ( psz )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue