From 12f585728de6e891c331067f1bbb440197459445 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 19 Feb 2026 02:08:43 -0800 Subject: [PATCH] replaces C++11 optional types with mandatory ones --- src/interfaces/eth/eth_tlm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/eth/eth_tlm.h b/src/interfaces/eth/eth_tlm.h index b36153dc..1df0b383 100644 --- a/src/interfaces/eth/eth_tlm.h +++ b/src/interfaces/eth/eth_tlm.h @@ -90,7 +90,7 @@ struct eth_packet_payload : public tlm::nw::tlm_network_payload { sc_core::sc_time sender_clk_period{sc_core::SC_ZERO_TIME}; static uint64_t get_id() { - static std::atomic_uint64_t id{0}; + static std::atomic id{0}; return id.fetch_add(1); } };