fix exit code of examples

This commit is contained in:
Oliver Kowalke
2015-06-04 07:05:43 +02:00
parent cbbde4f7d0
commit ff1bad40f2
6 changed files with 20 additions and 4 deletions

View File

@@ -199,5 +199,7 @@ int main(int argc, char *argv[])
}
}
return 0;
std::cout << "\nDone" << std::endl;
return EXIT_SUCCESS;
}

View File

@@ -67,5 +67,7 @@ int main(int argc, char *argv[])
std::copy(boost::begin(words), boost::end(words), boost::begin(writer));
return 0;
std::cout << "\nDone" << std::endl;
return EXIT_SUCCESS;
}

View File

@@ -63,5 +63,7 @@ int main( int argc, char * argv[])
boost::thread( thread_fn).join();
std::cout << "Done" << std::endl;
return 0;
}