We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 364715d commit 0bba69fCopy full SHA for 0bba69f
1 file changed
test/testclass.cpp
@@ -6823,7 +6823,7 @@ class TestClass : public TestFixture {
6823
errout_str());
6824
6825
checkConst("struct S {\n" // #12162
6826
- " bool has(int i) { return m.find(i) != m.end(); }\n");
+ " bool has(int i) { return m.find(i) != m.end(); }\n"
6827
" std::map<int, int> m;\n"
6828
"};\n");
6829
ASSERT_EQUALS("[test.cpp.2:10]: (style, inconclusive) Technically the member function 'S::has' can be const. [functionConst]\n",
0 commit comments