mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Source/Core/DiscIO/WIACompression.cpp: add missing <limits> include
Noticed missing include as a build failure on gcc-11: ``` [ 26%] Building CXX object Source/Core/DiscIO/CMakeFiles/discio.dir/WIACompression.cpp.o ../../../../Source/Core/DiscIO/WIACompression.cpp: In lambda function: ../../../../Source/Core/DiscIO/WIACompression.cpp:170:31: error: 'numeric_limits' is not a member of 'std' 170 | std::min<size_t>(std::numeric_limits<unsigned int>().max(), x)); | ^~~~~~~~~~~~~~ ../../../../Source/Core/DiscIO/WIACompression.cpp:170:46: error: expected primary-expression before 'unsigned' 170 | std::min<size_t>(std::numeric_limits<unsigned int>().max(), x)); | ^~~~~~~~ ``` Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
parent
16f5a50cfc
commit
af2a881a85
@ -7,6 +7,7 @@
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
|
Loading…
Reference in New Issue
Block a user