We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59cb84f commit cdb78f6Copy full SHA for cdb78f6
loader/include/Geode/utils/ranges.hpp
@@ -238,7 +238,7 @@ namespace geode::utils::ranges {
238
typename C::value_type min(C const& container) {
239
auto it = std::min_element(container.begin(), container.end());
240
if (it == container.end()) {
241
- return C::value_type();
+ return typename C::value_type();
242
}
243
return *it;
244
@@ -264,7 +264,7 @@ namespace geode::utils::ranges {
264
typename C::value_type max(C const& container) {
265
auto it = std::max_element(container.begin(), container.end());
266
267
268
269
270
0 commit comments