Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 644d0ff

Browse filesBrowse files
committed
Merge branch 'knewbury01/fix-381' of https://github.com/knewbury01/codeql-coding-standards into knewbury01/fix-381
2 parents 7f2099f + ab892ca commit 644d0ff
Copy full SHA for 644d0ff

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cpp/autosar/src/rules/M9-3-3/MemberFunctionConstIfPossible.ql

Copy file name to clipboardExpand all lines: cpp/autosar/src/rules/M9-3-3/MemberFunctionConstIfPossible.ql
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ConstMemberFunctionCandidate extends NonConstMemberFunction {
6565
// For uninstantiated templates we have only partial information that prevents us from determining
6666
// if the candidate calls non-const functions. Therefore we exclude these.
6767
not this.isFromUninstantiatedTemplate(_) and
68-
//cannot recommend const if it returns a nonconst reference
68+
// Cannot recommend const if it returns a non-const reference.
6969
not this.getType() instanceof NonConstReferenceType
7070
}
7171

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.