summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++/exception
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/libsupc++/exception')
-rw-r--r--libstdc++-v3/libsupc++/exception6
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/libsupc++/exception b/libstdc++-v3/libsupc++/exception
index fac73fb0566..3676a731481 100644
--- a/libstdc++-v3/libsupc++/exception
+++ b/libstdc++-v3/libsupc++/exception
@@ -31,8 +31,6 @@
#ifndef __EXCEPTION__
#define __EXCEPTION__
-#pragma interface "exception"
-
extern "C++" {
namespace std
@@ -41,7 +39,7 @@ namespace std
{
public:
exception() throw() { }
- virtual ~exception() throw() { }
+ virtual ~exception() throw();
virtual const char* what() const throw();
};
@@ -49,7 +47,7 @@ namespace std
{
public:
bad_exception() throw() { }
- virtual ~bad_exception() throw() { }
+ virtual ~bad_exception() throw();
};
typedef void (*terminate_handler) ();
OpenPOWER on IntegriCloud