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
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,7 @@ int testRandomAccessIterator(Iter begin, Iter end, Opt opt){ ...@@ -182,7 +182,7 @@ int testRandomAccessIterator(Iter begin, Iter end, Opt opt){
if(test != rand) if(test != rand)
{ {
std::cerr << "i+=n should have the same result as applying the" 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++; ret++;
} }
...@@ -201,7 +201,7 @@ int testRandomAccessIterator(Iter begin, Iter end, Opt opt){ ...@@ -201,7 +201,7 @@ int testRandomAccessIterator(Iter begin, Iter end, Opt opt){
if(test != rand) if(test != rand)
{ {
std::cerr << "i+=n should have the same result as applying the" 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++; ret++;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment