mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 21:53:26 +02:00
aaaa3896c0
Replace it with a function-local static that is initialized on first use. This gets rid of a global variable and removes the need for manual initialization in UICommon. This commit also replaces the weird find_if that looks for a non-null unique_ptr with a simple "is vector empty" check considering that none of the pointers can be null by construction. |
||
---|---|---|
.. | ||
ResourcePack | ||
AutoUpdate.cpp | ||
AutoUpdate.h | ||
CMakeLists.txt | ||
CommandLineParse.cpp | ||
CommandLineParse.h | ||
Disassembler.cpp | ||
Disassembler.h | ||
DiscordPresence.cpp | ||
DiscordPresence.h | ||
GameFile.cpp | ||
GameFile.h | ||
GameFileCache.cpp | ||
GameFileCache.h | ||
NetPlayIndex.cpp | ||
NetPlayIndex.h | ||
UICommon.cpp | ||
UICommon.h | ||
UICommon.vcxproj | ||
USBUtils.cpp | ||
USBUtils.h | ||
VideoUtils.cpp | ||
VideoUtils.h | ||
X11Utils.cpp | ||
X11Utils.h |