Attempt to work around build problem under OpenVMS

OpenVMS build was broken by 303d899cc0 (Make STL-based wxList more
compatible with the default one, 2021-09-02), try to blindly fix it by
casting the element to the same type it had had before.
This commit is contained in:
Vadim Zeitlin
2021-09-22 16:48:32 +02:00
parent 364835706c
commit d15bf90050

View File

@@ -188,7 +188,7 @@ private:
{ \
liT* _this = const_cast< liT* >( this ); \
return compatibility_iterator( _this, \
std::find( _this->begin(), _this->end(), e ) ); \
std::find( _this->begin(), _this->end(), (const elT)e ));\
} \
\
bool IsEmpty() const \