Skip to content

Commit

Permalink
Fixed old gcc build (2nd)
Browse files Browse the repository at this point in the history
  • Loading branch information
houmain committed Jul 28, 2024
1 parent 7ede0e2 commit 66d5dec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config/ParseConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,9 @@ void ParseConfig::parse_directive(It* it, const It end) {
}

const auto add_grab_device_filter = [&](bool invert, bool by_id) {
auto filter = GrabDeviceFilter{ };
auto& filter = m_config.grab_device_filters.emplace_back();
static_cast<Filter&>(filter) = read_filter(it, end, invert);
filter.by_id = by_id;
return filter;
};

const auto ident = read_ident(it, end);
Expand Down

0 comments on commit 66d5dec

Please sign in to comment.