1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 10:00:42 +00:00

fixed unused lambda capture

This commit is contained in:
Zeno Rogue 2024-05-26 23:26:49 +02:00
parent a20158ab65
commit 888a34dea6

View File

@ -756,7 +756,7 @@ EX shared_ptr<custom_parameter> param_colortable(colortable& val, const paramete
colortable dft = val; colortable dft = val;
u->last_value = -1; u->last_value = -1;
u->custom_viewer = [] (char key) {}; u->custom_viewer = [] (char key) {};
u->custom_value = [&val] () { return -1; }; u->custom_value = [] () { return -1; };
u->custom_affect = [&val] (void *v) { return &val == v; }; u->custom_affect = [&val] (void *v) { return &val == v; };
u->custom_load = [&val] (const string& s) { u->custom_load = [&val] (const string& s) {
auto seq = split_string(s, ','); auto seq = split_string(s, ',');