We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fcb7af commit 093900aCopy full SHA for 093900a
test/is_palindrome_test.cpp
@@ -42,7 +42,7 @@ struct functorComparator
42
void test_is_palindrome()
43
{
44
const std::list<int> empty;
45
- const std::vector<char> singleElement{'z'};
+ const std::vector<char> singleElement(1, 'z');
46
int oddNonPalindrome[] = {3,2,2};
47
const int oddPalindrome[] = {1,2,3,2,1};
48
const int evenPalindrome[] = {1,2,2,1};
0 commit comments