Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57972 - trunk/libs/program_options/src
From: s.ochsenknecht_at_[hidden]
Date: 2009-11-27 12:49:09


Author: s_ochsenknecht
Date: 2009-11-27 12:49:08 EST (Fri, 27 Nov 2009)
New Revision: 57972
URL: http://svn.boost.org/trac/boost/changeset/57972

Log:
consistent use of namespace std
Text files modified:
   trunk/libs/program_options/src/winmain.cpp | 6 ++----
   1 files changed, 2 insertions(+), 4 deletions(-)

Modified: trunk/libs/program_options/src/winmain.cpp
==============================================================================
--- trunk/libs/program_options/src/winmain.cpp (original)
+++ trunk/libs/program_options/src/winmain.cpp 2009-11-27 12:49:08 EST (Fri, 27 Nov 2009)
@@ -10,8 +10,6 @@
 #ifdef _WIN32
 namespace boost { namespace program_options {
 
- using namespace std;
-
     // Take a command line string and splits in into tokens, according
     // to the rules windows command line processor uses.
     //
@@ -86,8 +84,8 @@
     BOOST_PROGRAM_OPTIONS_DECL std::vector<std::wstring>
     split_winmain(const std::wstring& cmdline)
     {
- vector<wstring> result;
- vector<string> aux = split_winmain(to_internal(cmdline));
+ std::vector<std::wstring> result;
+ std::vector<std::string> aux = split_winmain(to_internal(cmdline));
         for (unsigned i = 0, e = aux.size(); i < e; ++i)
             result.push_back(from_utf8(aux[i]));
         return result;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk