Use ptrdiff_t as wxVector::difference_type instead of size_t

difference_type must be signed, using size_t was clearly a mistake.
This commit is contained in:
Vadim Zeitlin 2018-02-23 16:10:07 +01:00
parent 7e0ca8357e
commit 382a5a156e

View File

@ -160,7 +160,7 @@ private:
public:
typedef size_t size_type;
typedef size_t difference_type;
typedef ptrdiff_t difference_type;
typedef T value_type;
typedef value_type* pointer;
typedef const value_type* const_pointer;