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:
parent
7e0ca8357e
commit
382a5a156e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user