Remove reference in lambda call
This commit is contained in:
parent
212544d532
commit
284fd8ec8b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user