aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/constrained_device_args_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests/constrained_device_args_test.cpp')
-rw-r--r--host/tests/constrained_device_args_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/constrained_device_args_test.cpp b/host/tests/constrained_device_args_test.cpp
index 2fe7e5c16..fc234ae01 100644
--- a/host/tests/constrained_device_args_test.cpp
+++ b/host/tests/constrained_device_args_test.cpp
@@ -48,14 +48,14 @@ public:
return _enum_arg.get();
}
- inline virtual std::string to_string() const
+ inline std::string to_string() const override
{
return _double_arg.to_string() + ", " + _size_t_arg.to_string() + ", "
+ _bool_arg.to_string() + ", " + _enum_arg.to_string();
}
private:
- virtual void _parse(const uhd::device_addr_t& dev_args)
+ void _parse(const uhd::device_addr_t& dev_args) override
{
if (dev_args.has_key(_double_arg.key()))
_double_arg.parse(dev_args[_double_arg.key()]);