lemon/list_graph.h
changeset 2151 38ec4a930c05
parent 2132 783b1d583be3
child 2160 abd867cf8a9c
     1.1 --- a/lemon/list_graph.h	Tue Jul 18 12:10:52 2006 +0000
     1.2 +++ b/lemon/list_graph.h	Tue Jul 18 13:29:59 2006 +0000
     1.3 @@ -508,7 +508,7 @@
     1.4        
     1.5        class UnsupportedOperation : public LogicError {
     1.6        public:
     1.7 -	virtual const char* exceptionName() const {
     1.8 +	virtual const char* what() const throw() {
     1.9  	  return "lemon::ListGraph::Snapshot::UnsupportedOperation";
    1.10  	}
    1.11        };
    1.12 @@ -841,7 +841,7 @@
    1.13    public:
    1.14  
    1.15      class NodeSetError : public LogicError {
    1.16 -      virtual const char* exceptionName() const { 
    1.17 +      virtual const char* what() const throw() { 
    1.18  	return "lemon::ListBpUGraph::NodeSetError";
    1.19        }
    1.20      };