diff --git a/src/common/util/instance_logger.h b/src/common/util/instance_logger.h index 97a3e1c6..29f88d4c 100644 --- a/src/common/util/instance_logger.h +++ b/src/common/util/instance_logger.h @@ -85,7 +85,7 @@ template class InstanceLogger { void set_logger(LoggerDelegate& logger) { this->logger = &logger; } private: - LoggerDelegate* logger; + LoggerDelegate* logger{nullptr}; }; } // namespace util @@ -93,4 +93,4 @@ template class InstanceLogger { if(LEVEL <= this->LOGGER.get_log_level()) { \ this->LOGGER.log(LEVEL, MSG, __LINE__, __FILE__); \ } -#endif // _ISS_LOGGER_H_ \ No newline at end of file +#endif // _ISS_LOGGER_H_ diff --git a/src/sysc/tlm/scc/quantum_keeper_mt.h b/src/sysc/tlm/scc/quantum_keeper_mt.h index fce59cee..1a28be3d 100644 --- a/src/sysc/tlm/scc/quantum_keeper_mt.h +++ b/src/sysc/tlm/scc/quantum_keeper_mt.h @@ -6,7 +6,7 @@ #include #if SC_VERSION_MAJOR < 3 -#error "Multithreaded quantum keeper is only supported with SystemC 3.0 and newer" +#warning "Multithreaded quantum keeper is only supported with SystemC 3.0 and newer" #else #define DEBUG_MT_SCHEDULING