Skip to content

Commit d4771b7

Browse files
committed
const
1 parent 6b3248b commit d4771b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/resultstree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ void ResultsTree::refreshTree()
521521

522522
for (int j = 0; j < errorcount; j++) {
523523
//Get the error itself
524-
auto *child = dynamic_cast<ResultItem*>(fileItem->child(j, 0));
524+
const auto *child = dynamic_cast<ResultItem*>(fileItem->child(j, 0));
525525
if (!child) {
526526
continue;
527527
}

0 commit comments

Comments
 (0)