Update of /cvsroot/boost/boost/libs/wave/samples/advanced_hooks
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9727/libs/wave/samples/advanced_hooks
Modified Files:
advanced_hooks.cpp
Log Message:
Fixed exception specifications to catch exceptions as const&.
Index: advanced_hooks.cpp
===================================================================
RCS file:
/cvsroot/boost/boost/libs/wave/samples/advanced_hooks/advanced_hooks.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- advanced_hooks.cpp 18 Jun 2006 16:57:20 -0000 1.5
+++ advanced_hooks.cpp 24 Jun 2006 16:59:45 -0000 1.6
@@ -96,14 +96,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