Remove reference in lambda call

This commit is contained in:
Filip Sykala 2022-02-22 13:39:28 +01:00
parent 212544d532
commit 284fd8ec8b

View File

@ -793,7 +793,7 @@ void GLGizmoEmboss::draw_text_input()
tool_tip = _u8L("Try to choose another font.");
} else {
std::string who;
auto append_warning = [&who, &tool_tip](std::string& w, std::string& t) {
auto append_warning = [&who, &tool_tip](std::string w, std::string t) {
if (!w.empty()) {
if (!who.empty()) who += " & ";
who += w;