Skip to content

Commit

Permalink
slight polishing of syntactic turd
Browse files Browse the repository at this point in the history
  • Loading branch information
neworderofjamie committed Dec 3, 2024
1 parent 6698ef4 commit f4ef186
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/genn/genn/code_generator/environment.h
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,7 @@ class EnvironmentGroupMergedField : public EnvironmentExternalDynamicBase<Enviro
[getFieldValue](Runtime::Runtime &r, const GroupInternal &g, size_t i)
{
return std::visit(
Utils::Overload{
[](const auto &res)->typename G::FieldValue { return res; }},
[](const auto &res)->typename G::FieldValue { return res; },
getFieldValue(r, g, i));
}};
this->addInternal(type, name, std::make_tuple(false, LazyString{indexSuffix, *this}, std::make_optional(field)),
Expand Down

0 comments on commit f4ef186

Please sign in to comment.