diff --git a/extern/amuse b/extern/amuse index 7865694d7..89986bdd6 160000 --- a/extern/amuse +++ b/extern/amuse @@ -1 +1 @@ -Subproject commit 7865694d75f2b5aad9337af9702ab54e1c1b6e01 +Subproject commit 89986bdd650685261311a87b37f504baee342eff diff --git a/extern/nod b/extern/nod index 45f56d21f..2f53b2174 160000 --- a/extern/nod +++ b/extern/nod @@ -1 +1 @@ -Subproject commit 45f56d21f1fc30e3f4290b832d4459e08bdfcc13 +Subproject commit 2f53b2174040eb0bc84fce8799b7a9be630eabd5 diff --git a/hecl/lib/hecl.cpp b/hecl/lib/hecl.cpp index 09fbd386a..ce55f8c7b 100644 --- a/hecl/lib/hecl.cpp +++ b/hecl/lib/hecl.cpp @@ -17,7 +17,6 @@ #define _WIN32_IE 0x0400 #endif #include -#include #endif #ifdef __APPLE__ @@ -243,8 +242,8 @@ hecl::DirectoryEnumerator::DirectoryEnumerator(std::string_view path, Mode mode, m_entries.reserve(sort.size()); if (reverse) { - for (auto& it : std::ranges::reverse_view(sort)) { - m_entries.emplace_back(std::move(it.second)); + for (auto it = sort.crbegin(); it != sort.crend(); ++it) { + m_entries.emplace_back(std::move(it->second)); } } else { for (auto& e : sort) { @@ -285,8 +284,8 @@ hecl::DirectoryEnumerator::DirectoryEnumerator(std::string_view path, Mode mode, m_entries.reserve(m_entries.size() + sort.size()); if (reverse) { - for (auto& it : std::ranges::reverse_view(sort)) { - m_entries.emplace_back(std::move(it.second)); + for (auto it = sort.crbegin(); it != sort.crend(); ++it) { + m_entries.emplace_back(std::move(it->second)); } } else { for (auto& e : sort) { @@ -315,8 +314,8 @@ hecl::DirectoryEnumerator::DirectoryEnumerator(std::string_view path, Mode mode, m_entries.reserve(m_entries.size() + sort.size()); if (reverse) { - for (auto& e : std::ranges::reverse_view(sort)) { - m_entries.emplace_back(std::move(e.second)); + for (auto it = sort.crbegin(); it != sort.crend(); ++it) { + m_entries.emplace_back(std::move(it->second)); } } else { for (auto& e : sort) {