Drops custom utf16 string implementation (from rP684), uses C++11 one.
Patch By: sera
Differential Revision: https://code.wildfiregames.com/D4223
Drops custom utf16 string implementation (from rP684), uses C++11 one.
Description
Details
Event TimelineComment Actions KeyName.cpp ../../../source/ps/KeyName.cpp: In function ‘SDL_Scancode FindScancode(const CStr8&)’: ../../../source/ps/KeyName.cpp:92:22: error: ‘find_if’ is not a member of ‘std’ 92 | std::find_if(scancodemap.begin(), scancodemap.end(), [&keyname](const std::pair<int, std::vector<CStr>>& names) { | ^~~~~~~ ../../../source/ps/KeyName.cpp: In lambda function: ../../../source/ps/KeyName.cpp:93:37: error: ‘find_if’ is not a member of ‘std’ 93 | return std::find_if(names.second.begin(), names.second.end(), [&keyname](const CStr& t) { | ^~~~~~~ make[1]: *** [engine.make:352: obj/engine_Release/KeyName.o] Error 1 make: *** [Makefile:117: engine] Error 2 Comment Actions Was pulling <algorithm> from utf16string.h can you try adding it to that file @Freagarach? |