summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_process_handle.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext/core/sc_process_handle.hh')
-rw-r--r--src/systemc/ext/core/sc_process_handle.hh9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/systemc/ext/core/sc_process_handle.hh b/src/systemc/ext/core/sc_process_handle.hh
index a928ab3ad..a8f977ba6 100644
--- a/src/systemc/ext/core/sc_process_handle.hh
+++ b/src/systemc/ext/core/sc_process_handle.hh
@@ -66,10 +66,15 @@ class sc_unwind_exception : public std::exception
virtual const char *what() const throw();
virtual bool is_reset() const;
- protected:
- sc_unwind_exception();
+ // Nonstandard.
+ // These should be protected, but I think this is to enable catch by
+ // value.
+ public:
sc_unwind_exception(const sc_unwind_exception &);
virtual ~sc_unwind_exception() throw();
+
+ protected:
+ sc_unwind_exception();
};
class sc_process_handle