Skip to content

Commit 1a62386

Browse files
Update valueflow.cpp
1 parent 1a5879d commit 1a62386

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/valueflow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1949,7 +1949,7 @@ static bool isLifetimeBorrowed(const ValueType *vt, const ValueType *vtParent)
19491949
if (vtParent->pointer < vt->pointer && vtParent->isIntegral())
19501950
return true;
19511951
std::string vtParentStr = vtParent->str();
1952-
if (startsWith(vtParentStr, "const ") // HACK: assignment to const
1952+
if (startsWith(vtParentStr, "const ")) // HACK: assignment to const
19531953
vtParentStr.erase(0, 6);
19541954
if (vtParentStr == vt->str())
19551955
return true;

0 commit comments

Comments
 (0)