diff --git a/hw/unit_tests/generic_queue/vl_simulator.h b/hw/unit_tests/generic_queue/vl_simulator.h index a00886c3..16486adf 100644 --- a/hw/unit_tests/generic_queue/vl_simulator.h +++ b/hw/unit_tests/generic_queue/vl_simulator.h @@ -55,7 +55,7 @@ public: return ticks; } - auto operator->() { + T* operator->() { return &top_; } };