We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
constVariablePointer
1 parent 860f557 commit f35b22dCopy full SHA for f35b22d
1 file changed
test/testcheck.cpp
@@ -44,7 +44,7 @@ class TestCheck : public TestFixture {
44
}
45
46
void classInfoFormat() const {
47
- for (Check * const c : Check::instances()) {
+ for (const Check * const c : Check::instances()) {
48
const std::string info = c->classInfo();
49
if (!info.empty()) {
50
ASSERT('\n' != info[0]); // No \n in the beginning
0 commit comments