mirror of https://github.com/PrimeDecomp/prime.git
Add dummy rstl::sort impl for host compiler
Former-commit-id: 6dfea164ed
This commit is contained in:
parent
6d7d4674a3
commit
2dc0b02295
|
@ -14,11 +14,13 @@
|
|||
#include "dolphin/os.h"
|
||||
|
||||
namespace rstl {
|
||||
// template < class It, class Cmp >
|
||||
// void sort(It first, It last, Cmp cmp) {
|
||||
// // TODO: proper implementation
|
||||
// cmp(*first, *last);
|
||||
// }
|
||||
#ifndef __MWERKS__
|
||||
template < class It, class Cmp >
|
||||
void sort(It first, It last, Cmp cmp) {
|
||||
// TODO: proper implementation
|
||||
cmp(*first, *last);
|
||||
}
|
||||
#endif
|
||||
} // namespace rstl
|
||||
|
||||
namespace {
|
||||
|
|
Loading…
Reference in New Issue