Skip to content

Commit

Permalink
Use std::map::contains
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Aug 15, 2023
1 parent 987f579 commit 5337b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app/commands/importattributescommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ bool ImportAttributesCommand::execute()

for(auto elementId : elementIds)
{
auto value = u::contains(map, elementId) ?
auto value = map.contains(elementId) ?
_data.valueAt(static_cast<size_t>(columnIndex), map.at(elementId)) : QString{};
userData->setValueBy(elementId, name, value);
}
Expand Down

0 comments on commit 5337b9e

Please sign in to comment.