mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
fixed unused lambda capture
This commit is contained in:
parent
a20158ab65
commit
888a34dea6
@ -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, ',');
|
||||||
|
Loading…
Reference in New Issue
Block a user