Remove useless wxIntegerHash assignment operator
This doesn't seem to be doing anything useful but does result in -Wdeprecated-copy from clang 10, as normally a custom copy ctor should be defined as well, if the assignment operator is defined.
This commit is contained in:
@@ -507,8 +507,6 @@ public:
|
||||
size_t operator()( wxLongLong_t x ) const wxNOEXCEPT { return longlongHash(x); }
|
||||
size_t operator()( wxULongLong_t x ) const wxNOEXCEPT { return longlongHash(x); }
|
||||
#endif // wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG
|
||||
|
||||
wxIntegerHash& operator=(const wxIntegerHash&) { return *this; }
|
||||
};
|
||||
|
||||
#else // wxNEEDS_WX_HASH_MAP
|
||||
|
Reference in New Issue
Block a user