Don't expose sort() to avoid adding dependencies on all std::list users
This commit is contained in:
parent
0094e3c90d
commit
a2b092ab7e
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ namespace std {
|
|||
|
||||
// Possible bug: jint != size_type
|
||||
jint size () const;
|
||||
void sort();
|
||||
|
||||
// Although sort() is nice it makes operator<() mandatory which it probably shouldn't be
|
||||
//void sort();
|
||||
|
||||
// Only for helping implement listIterator
|
||||
iterator begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue