Skip to content

Commit

Permalink
use auto [,] everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisGoosen authored Nov 14, 2024
1 parent 462a921 commit 2f4fd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QMLComponents/models/listmodellayersassigned.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Terms ListModelLayersAssigned::addTerms(const Terms& terms, int dropItemIndex, c
int layer = _variablesPerLayer.length();
int indexInLayer = 0;
if (dropItemIndex >= 0)
std::tie(layer, indexInLayer) = _getLayer(dropItemIndex, true);
auto [layer, indexInLayer] = _getLayer(dropItemIndex, true);

if (layer >= _variablesPerLayer.length())
{
Expand Down

0 comments on commit 2f4fd38

Please sign in to comment.