Update of /cvsroot/boost/boost/libs/wave/samples/cpp_tokens
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9727/libs/wave/samples/cpp_tokens

Modified Files:
        cpp_tokens.cpp 
Log Message:
Fixed exception specifications to catch exceptions as const&.

Index: cpp_tokens.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/samples/cpp_tokens/cpp_tokens.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cpp_tokens.cpp      23 Jan 2006 03:45:34 -0000      1.6
+++ cpp_tokens.cpp      24 Jun 2006 16:59:45 -0000      1.7
@@ -107,14 +107,14 @@
             ++first;
         }
     }
-    catch (boost::wave::cpp_exception &e) {
+    catch (boost::wave::cpp_exception const& e) {
     // some preprocessing error
         cerr 
             << e.file_name() << "(" << e.line_no() << "): "
             << e.description() << endl;
         return 2;
     }
-    catch (std::exception &e) {
+    catch (std::exception const& e) {
     // use last recognized token to retrieve the error position
         cerr 
             << current_token.get_position().get_file() 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to