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

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

Index: quick_start.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/samples/quick_start/quick_start.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- quick_start.cpp     24 Dec 2005 19:50:44 -0000      1.3
+++ quick_start.cpp     24 Jun 2006 16:59:46 -0000      1.4
@@ -80,14 +80,14 @@
             ++first;
         }
     }
-    catch (boost::wave::cpp_exception &e) {
+    catch (boost::wave::cpp_exception const& e) {
     // some preprocessing error
         std::cerr 
             << e.file_name() << "(" << e.line_no() << "): "
             << e.description() << std::endl;
         return 2;
     }
-    catch (std::exception &e) {
+    catch (std::exception const& e) {
     // use last recognized token to retrieve the error position
         std::cerr 
             << current_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