Skip to content

Commit 1301349

Browse files
committed
missing const
1 parent 86078e8 commit 1301349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaDeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ std::optional<unsigned> Sema::GetDecompositionElementCount(QualType T,
16881688
break;
16891689
}
16901690

1691-
CXXRecordDecl *OrigRD = T->getAsCXXRecordDecl();
1691+
const CXXRecordDecl *OrigRD = T->getAsCXXRecordDecl();
16921692
if (!OrigRD || OrigRD->isUnion())
16931693
return std::nullopt;
16941694

0 commit comments

Comments
 (0)