Add dummy rstl::sort impl for host compiler

This commit is contained in:
Henrique Gemignani Passos Lima 2022-11-03 12:52:16 +02:00
parent b9f422978b
commit 6dfea164ed
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 7 additions and 5 deletions

View File

@ -14,11 +14,13 @@
#include "dolphin/os.h" #include "dolphin/os.h"
namespace rstl { namespace rstl {
// template < class It, class Cmp > #ifndef __MWERKS__
// void sort(It first, It last, Cmp cmp) { template < class It, class Cmp >
// // TODO: proper implementation void sort(It first, It last, Cmp cmp) {
// cmp(*first, *last); // TODO: proper implementation
// } cmp(*first, *last);
}
#endif
} // namespace rstl } // namespace rstl
namespace { namespace {