Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53442 - trunk/libs/program_options/example
From: ghost_at_[hidden]
Date: 2009-05-30 06:38:11


Author: vladimir_prus
Date: 2009-05-30 06:38:11 EDT (Sat, 30 May 2009)
New Revision: 53442
URL: http://svn.boost.org/trac/boost/changeset/53442

Log:
Qualify usage of 'exeception', now that boost also has such name
Text files modified:
   trunk/libs/program_options/example/options_description.cpp | 2 +-
   trunk/libs/program_options/example/regex.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/program_options/example/options_description.cpp
==============================================================================
--- trunk/libs/program_options/example/options_description.cpp (original)
+++ trunk/libs/program_options/example/options_description.cpp 2009-05-30 06:38:11 EDT (Sat, 30 May 2009)
@@ -77,7 +77,7 @@
 
         cout << "Listen port is " << portnum << "\n";
     }
- catch(exception& e)
+ catch(std::exception& e)
     {
         cout << e.what() << "\n";
         return 1;

Modified: trunk/libs/program_options/example/regex.cpp
==============================================================================
--- trunk/libs/program_options/example/regex.cpp (original)
+++ trunk/libs/program_options/example/regex.cpp 2009-05-30 06:38:11 EDT (Sat, 30 May 2009)
@@ -94,7 +94,7 @@
                  << vm["magic"].as<magic_number>().n << "\"\n";
         }
     }
- catch(exception& e)
+ catch(std::exception& e)
     {
         cout << e.what() << "\n";
     }


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