Add dummy rstl::sort impl for host compiler

Former-commit-id: 6dfea164ed
This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-03 12:52:16 +02:00
parent 6d7d4674a3
commit 2dc0b02295
1 changed files with 7 additions and 5 deletions

View File

@ -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 {