Skip to content
Snippets Groups Projects
Commit 2498c25d authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Fix wrong std::cerr at end of output.

It should be std::endl.
Courtesy of GCC 5-svn, it refuses to compile these.
parent 3a648409
Branches
Tags
No related merge requests found
......@@ -182,7 +182,7 @@ int testRandomAccessIterator(Iter begin, Iter end, Opt opt){
if(test != rand)
{
std::cerr << "i+=n should have the same result as applying the"
<< "increment ooperator n times!"<< std::cerr;
<< "increment ooperator n times!"<< std::endl;
ret++;
}
......@@ -201,7 +201,7 @@ int testRandomAccessIterator(Iter begin, Iter end, Opt opt){
if(test != rand)
{
std::cerr << "i+=n should have the same result as applying the"
<< "increment ooperator n times!"<< std::cerr;
<< "increment ooperator n times!"<< std::endl;
ret++;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment