mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove some unnecessary <algorithm> includes.
This commit is contained in:
parent
45cf6d423e
commit
4dd3621fa0
28 changed files with 23 additions and 28 deletions
|
@ -32,7 +32,6 @@
|
|||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <memory.h>
|
||||
#include <set>
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <algorithm> // for sort
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
|
@ -12,7 +13,6 @@
|
|||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
|
|
@ -14,13 +14,14 @@
|
|||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
#include <sys/stat.h>
|
||||
#include <ctype.h>
|
||||
#include <cctype>
|
||||
#include <algorithm> // remove_if
|
||||
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
#include "Common/StringUtils.h"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "ppsspp_config.h"
|
||||
#include <algorithm>
|
||||
|
||||
#include <algorithm> // for std::search
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <set>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <algorithm>
|
||||
#include <ctype.h>
|
||||
#include <cctype>
|
||||
#include <set>
|
||||
#include <algorithm> // for sort
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include "ppsspp_config.h"
|
||||
#include <algorithm>
|
||||
|
||||
#include "Common/GPU/OpenGL/GLCommon.h"
|
||||
#include "Common/GPU/OpenGL/GLDebugLog.h"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include <cstdio>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#include <algorithm>
|
||||
|
||||
#include "Common/Log.h"
|
||||
#include "Common/GPU/Vulkan/VulkanContext.h"
|
||||
#include "Common/GPU/Vulkan/VulkanAlloc.h"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
// Additionally, Common/Vulkan/* , including this file, are also licensed
|
||||
// under the public domain.
|
||||
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
#include <mutex>
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
|
||||
#include <map>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// Only draws and binds are handled here, resource creation and allocations are handled as normal -
|
||||
// that's the nice thing with Vulkan.
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
#include <condition_variable>
|
||||
#include <cstdint>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#if PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(UWP)
|
||||
#include <atomic>
|
||||
#include <algorithm> // min
|
||||
#include <array>
|
||||
#include <cstring>
|
||||
#include <string> // System: To be able to add strings with "+"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "Common/Net/HTTPHeaders.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <algorithm> // std::transform
|
||||
|
||||
#include "Common/Net/Sinks.h"
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#define in6addr_any IN6ADDR_ANY_INIT
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
#include <cstdio>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// Ultra-lightweight category profiler with history.
|
||||
|
||||
#include <algorithm>
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
#include <cstring>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "Common/StringUtils.h"
|
||||
#include "Core/Debugger/WebSocket/InputSubscriber.h"
|
||||
#include "Core/Debugger/WebSocket/WebSocketUtils.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <algorithm> // std::erase/remove
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include <algorithm> // std::remove
|
||||
#include <cstdlib>
|
||||
#include <set>
|
||||
#include <thread>
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#define _USE_MATH_DEFINES
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <mutex>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include <algorithm>
|
||||
#include <algorithm> // std::remove
|
||||
|
||||
#include "ext/xxhash.h"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
// All credit goes to him and the official miniupnp project! http://miniupnp.free.fr/
|
||||
|
||||
|
||||
#include <algorithm> // find_if
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "ppsspp_config.h"
|
||||
|
||||
#include <algorithm> // std::remove
|
||||
|
||||
#include "Common/Profiler/Profiler.h"
|
||||
|
||||
#include "Common/GraphicsContext.h"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "Common/CommonWindows.h"
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include "Windows/W32Util/DialogManager.h"
|
||||
|
||||
#include "Common/CommonWindows.h"
|
||||
#include "Windows/W32Util/DialogManager.h"
|
||||
|
||||
Dialog::Dialog(LPCSTR res, HINSTANCE _hInstance, HWND _hParent)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue