]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/protocol.h
Remove unnecessary destructors from exception classes
[libs/net.git] / source / net / protocol.h
index 3457a9d7288cf47b915d1e4249cecbc6db3f9c55..fa90e6d250d87531fdc01069a90fe0cab6a90352 100644 (file)
@@ -14,7 +14,6 @@ class bad_packet: public std::runtime_error
 {
 public:
        bad_packet(const std::string &w): std::runtime_error(w) { }
-       virtual ~bad_packet() throw() { }
 };
 
 
@@ -22,7 +21,6 @@ class buffer_error: public std::runtime_error
 {
 public:
        buffer_error(const std::string &w): std::runtime_error(w) { }
-       virtual ~buffer_error() throw() { }
 };