Skip to content

Commit 08099e1

Browse files
author
Arnd R. Strube
committed
Fix the examples as well (again)
1 parent 0e569d8 commit 08099e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/AllTests/MockDocumentationTest.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ static int equalMethod(const void* object1, const void* object2)
179179
return object1 == object2;
180180
}
181181

182-
static char* toStringMethod(const void*)
182+
static const char* toStringMethod(const void*)
183183
{
184-
return (char*) "string";
184+
return "string";
185185
}
186186

187187
TEST(MockDocumentation, CInterface)

0 commit comments

Comments
 (0)