uninitialized member variable

This commit is contained in:
Màrius Montón 2021-12-08 16:55:17 +01:00
parent 2f1fe58201
commit 0d41fa7d10
No known key found for this signature in database
GPG Key ID: FA199E7A752699F0
1 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ namespace riscv_tlm {
socket.register_get_direct_mem_ptr(this, &Memory::get_direct_mem_ptr); socket.register_get_direct_mem_ptr(this, &Memory::get_direct_mem_ptr);
socket.register_transport_dbg(this, &Memory::transport_dbg); socket.register_transport_dbg(this, &Memory::transport_dbg);
dmi_allowed = false;
program_counter = 0; program_counter = 0;
logger = spdlog::get("my_logger"); logger = spdlog::get("my_logger");