mirror of https://github.com/OpenMW/openmw.git
Fix a gcc warning about copy
``` /home/jvoisin/dev/openmw/openmw/components/fontloader/fontloader.cpp:532:29: warning: loop variable '[key, value]' creates a copy from type 'std::pair<const int, int> const' [-Wrange-loop-construct] for (const auto [key, value] : additional) ^ /home/jvoisin/dev/openmw/openmw/components/fontloader/fontloader.cpp:532:18: note: use reference type 'std::pair<const int, int> const &' to prevent copying for (const auto [key, value] : additional) ^~~~~~~~~~~~~~~~~~~~~~~~~ & 1 warning generated. ```simplify_debugging
parent
45c84a2426
commit
6da3c3e200
Loading…
Reference in New Issue