summaryrefslogtreecommitdiff
path: root/src/systemc/core/process_types.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/core/process_types.hh')
-rw-r--r--src/systemc/core/process_types.hh11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/systemc/core/process_types.hh b/src/systemc/core/process_types.hh
index 2dde4672a..5fbab8038 100644
--- a/src/systemc/core/process_types.hh
+++ b/src/systemc/core/process_types.hh
@@ -39,9 +39,7 @@ namespace sc_gem5
class Method : public Process
{
public:
- Method(const char *name, ProcessFuncWrapper *func, bool _dynamic=false) :
- Process(name, func, _dynamic)
- {}
+ Method(const char *name, ProcessFuncWrapper *func) : Process(name, func) {}
const char *kind() const override { return "sc_method_process"; }
@@ -55,8 +53,8 @@ class Method : public Process
class Thread : public Process
{
public:
- Thread(const char *name, ProcessFuncWrapper *func, bool _dynamic=false) :
- Process(name, func, _dynamic), ctx(nullptr)
+ Thread(const char *name, ProcessFuncWrapper *func) :
+ Process(name, func), ctx(nullptr)
{}
~Thread() { delete ctx; }
@@ -105,8 +103,7 @@ class Thread : public Process
class CThread : public Thread
{
public:
- CThread(const char *name, ProcessFuncWrapper *func, bool _dynamic=false) :
- Thread(name, func, _dynamic)
+ CThread(const char *name, ProcessFuncWrapper *func) : Thread(name, func)
{
// We'll be in the initialization list now, but we shouldn't be.
popListNode();