Skip to content

Commit 0bba69f

Browse files
Update testclass.cpp
1 parent 364715d commit 0bba69f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testclass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6823,7 +6823,7 @@ class TestClass : public TestFixture {
68236823
errout_str());
68246824

68256825
checkConst("struct S {\n" // #12162
6826-
" bool has(int i) { return m.find(i) != m.end(); }\n");
6826+
" bool has(int i) { return m.find(i) != m.end(); }\n"
68276827
" std::map<int, int> m;\n"
68286828
"};\n");
68296829
ASSERT_EQUALS("[test.cpp.2:10]: (style, inconclusive) Technically the member function 'S::has' can be const. [functionConst]\n",

0 commit comments

Comments
 (0)