Skip to content

src/config.h: Fix build error with 'transform' not existing

Administrator requested to merge syboxez/transform into master

Fixes:

FAILED: osk-sdl.p/src_config.cpp.o 
c++ -Iosk-sdl.p -I. -I../osk-sdl -I/usr/include/SDL2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++2a -O0 '-DVERSION="0.67"' -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIE -D_REENTRANT -MD -MQ osk-sdl.p/src_config.cpp.o -MF osk-sdl.p/src_config.cpp.o.d -o osk-sdl.p/src_config.cpp.o -c ../osk-sdl/src/config.cpp
../osk-sdl/src/config.cpp: In member function 'bool Config::Read(const std::string&)':
../osk-sdl/src/config.cpp:163:17: error: 'transform' was not declared in this scope
  163 |                 transform(val.begin(), val.end(), val.begin(), ::tolower);
      |                 ^~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

Merge request reports

Loading