[DEV] continue removing STL

This commit is contained in:
Edouard DUPIN 2017-09-14 00:59:21 +02:00
parent c171d4a035
commit 024d00adff
2 changed files with 4 additions and 3 deletions

View File

@ -6,8 +6,9 @@
#pragma once #pragma once
#include <elog/log.hpp> #include <elog/log.hpp>
#include <cassert> extern "C" {
#include <assert.h>
}
namespace appl { namespace appl {
/** /**
* @brief Get local id of the library * @brief Get local id of the library

View File

@ -41,7 +41,7 @@ class MainApplication : public ewol::context::Application {
etk::FSNode elem(tmpppp); etk::FSNode elem(tmpppp);
if (elem.getNodeType() == etk::typeNode_folder) { if (elem.getNodeType() == etk::typeNode_folder) {
etk::Vector<etk::String> tmp = elem.folderGetSub(false, true, ".*"); etk::Vector<etk::String> tmp = elem.folderGetSub(false, true, ".*");
std::sort(tmp.begin(), tmp.end()); tmp.sort(0, tmp.size(), [](const etk::String& _left, const etk::String& _right) { return _left < _right;});
for (auto &it : tmp) { for (auto &it : tmp) {
m_listFiles.pushBack(it); m_listFiles.pushBack(it);
} }