Restore removed <algorithm> includes.

Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
This commit is contained in:
Henrik Rydgård committed 2024-12-19 09:53:07 +01:00
1 parent fb76bd6722
commit c91169e702
34 files changed
+53 -19

No files matched your search

+4 -5
View File
@@ -16,6 +16,10 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "ppsspp_config.h"
#include <cctype>
#include <cmath>
#include <algorithm>
#include "Common/Data/Text/I18n.h"
#include "Common/Math/math_util.h"
#include "Common/Data/Encoding/Utf8.h"
@@ -31,11 +35,6 @@
#include "Core/Config.h"
#include "Core/Reporting.h"
#ifndef _WIN32
#include <ctype.h>
#include <math.h>
#endif
// These are rough, it seems to take a long time to init, and probably depends on threads.
// TODO: This takes like 700ms on a PSP but that's annoyingly long.
const static int OSK_INIT_DELAY_US = 300000;