We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3e937f commit 1a5eea5Copy full SHA for 1a5eea5
1 file changed
test/cfg/std.cpp
@@ -5176,8 +5176,8 @@ S* g_constVariablePointer_wstring();
5176
void h_constVariablePointer_wstring(const wchar_t*);
5177
5178
void f_constVariablePointer_wstring() {
5179
- S_constVariablePointer_wstring* s = g(); // cppcheck-suppress constVariablePointer
5180
- h(s->get().c_str());
+ S_constVariablePointer_wstring* s = g_constVariablePointer_wstring(); // cppcheck-suppress constVariablePointer
+ h_constVariablePointer_wstring(s->get().c_str());
5181
}
5182
5183
std::streampos constParameterPointer_istream_tellg(std::istream* p) { // #13801
0 commit comments