diff --git a/src/Debug.cpp b/src/Debug.cpp index 4472b27..a94695c 100644 --- a/src/Debug.cpp +++ b/src/Debug.cpp @@ -20,7 +20,7 @@ constexpr char nibble_to_hex[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; -Debug::Debug(CPU *cpu, Memory* mem): sc_module(std::string("Debug")) { +Debug::Debug(CPU *cpu, Memory* mem): sc_module(sc_core::sc_module_name("Debug")) { dbg_cpu = cpu; dbg_mem = mem;