aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/rfnoc_block_tests/fosphor_block_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests/rfnoc_block_tests/fosphor_block_test.cpp')
-rw-r--r--host/tests/rfnoc_block_tests/fosphor_block_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/tests/rfnoc_block_tests/fosphor_block_test.cpp b/host/tests/rfnoc_block_tests/fosphor_block_test.cpp
index 0cdc678d2..fb3624e02 100644
--- a/host/tests/rfnoc_block_tests/fosphor_block_test.cpp
+++ b/host/tests/rfnoc_block_tests/fosphor_block_test.cpp
@@ -32,8 +32,8 @@ noc_block_base::make_args_t::~make_args_t() = default;
class fosphor_mock_reg_iface_t : public mock_reg_iface_t
{
public:
- virtual void _poke_cb(
- uint32_t addr, uint32_t data, uhd::time_spec_t /*time*/, bool /*ack*/)
+ void _poke_cb(
+ uint32_t addr, uint32_t data, uhd::time_spec_t /*time*/, bool /*ack*/) override
{
if (addr == fosphor_block_control::REG_ENABLE_ADDR) {
fosphor_enable_reg = data;
@@ -47,7 +47,7 @@ public:
}
}
- virtual void _peek_cb(uint32_t addr, uhd::time_spec_t /*time*/)
+ void _peek_cb(uint32_t addr, uhd::time_spec_t /*time*/) override
{
if (addr == fosphor_block_control::REG_ENABLE_ADDR) {
read_memory[addr] = fosphor_enable_reg;