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

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

Index: lexed_tokens.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/samples/lexed_tokens/lexed_tokens.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- lexed_tokens.cpp    17 Mar 2006 22:40:02 -0000      1.7
+++ lexed_tokens.cpp    24 Jun 2006 16:59:46 -0000      1.8
@@ -123,14 +123,14 @@
             ++it;
         }
     }
-    catch (boost::wave::cpplexer::lexing_exception &e) {
+    catch (boost::wave::cpplexer::lexing_exception const& e) {
     // some lexing 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