We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d055e66 + 96a0bdd commit 6726a23Copy full SHA for 6726a23
cpp/ql/src/Likely Bugs/ReturnConstTypeMember.cpp
@@ -8,6 +8,6 @@ struct S {
8
9
// Whereas here it does make a semantic difference.
10
auto getValCorrect() const -> int {
11
- return val
+ return val;
12
}
13
};
0 commit comments