Skip to content
Snippets Groups Projects
Commit 332c0f3c authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #5998: remove using namespace std in main

parent 80130b96
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
#include "audio/audiolayer.h" #include "audio/audiolayer.h"
using namespace std;
using namespace ost; using namespace ost;
CommandOptionArg level ( CommandOptionArg level (
...@@ -78,13 +77,13 @@ main (int argc, char **argv) ...@@ -78,13 +77,13 @@ main (int argc, char **argv)
printf ("http://www.sflphone.org/\n"); printf ("http://www.sflphone.org/\n");
if (help.numSet) { if (help.numSet) {
cerr << args->printUsage(); std::cerr << args->printUsage();
::exit (0); ::exit (0);
} }
if (args->argsHaveError()) { if (args->argsHaveError()) {
cerr << args->printErrors(); std::cerr << args->printErrors();
cerr << args->printUsage(); std::cerr << args->printUsage();
::exit (1); ::exit (1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment