Skip to content

Commit

Permalink
bugfix. fixes #512
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitmartin88 committed Jan 8, 2025
1 parent 6b8af0d commit 79c80e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/deisa/deisa.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class deisa_plugin: public Plugin
if (!PC_status(map_in)) {
each(map_in, [&](PC_tree_t key_map, PC_tree_t value_map) { // TODO: when #481 is fixed, use `or_none` variant.
ctx.callbacks().add_data_callback(
[&](const std::string& deisa_array_name, const Ref& data_ref) { on_data(deisa_array_name, data_ref); },
[&, deisa_array_name = to_string(value_map)](const std::string&, const Ref& data_ref) { on_data(deisa_array_name, data_ref); },
to_string(key_map)
);
});
Expand Down

0 comments on commit 79c80e3

Please sign in to comment.