From 332c0f3c45f3d27c510b23f3f28dfa5ff40e8337 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Thu, 2 Jun 2011 11:15:43 -0400
Subject: [PATCH] * #5998: remove using namespace std in main

---
 sflphone-common/src/main.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sflphone-common/src/main.cpp b/sflphone-common/src/main.cpp
index e4052d5fbd..6aa34c5144 100644
--- a/sflphone-common/src/main.cpp
+++ b/sflphone-common/src/main.cpp
@@ -45,7 +45,6 @@
 
 #include "audio/audiolayer.h"
 
-using namespace std;
 using namespace ost;
 
 CommandOptionArg	level (
@@ -78,13 +77,13 @@ main (int argc, char **argv)
     printf ("http://www.sflphone.org/\n");
 
     if (help.numSet) {
-        cerr << args->printUsage();
+        std::cerr << args->printUsage();
         ::exit (0);
     }
 
     if (args->argsHaveError()) {
-        cerr << args->printErrors();
-        cerr << args->printUsage();
+        std::cerr << args->printErrors();
+        std::cerr << args->printUsage();
         ::exit (1);
     }
 
-- 
GitLab