aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include/uhdlib/usrp/constrained_device_args.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/uhdlib/usrp/constrained_device_args.hpp')
-rw-r--r--host/lib/include/uhdlib/usrp/constrained_device_args.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/include/uhdlib/usrp/constrained_device_args.hpp b/host/lib/include/uhdlib/usrp/constrained_device_args.hpp
index 7588462c4..bdd492752 100644
--- a/host/lib/include/uhdlib/usrp/constrained_device_args.hpp
+++ b/host/lib/include/uhdlib/usrp/constrained_device_args.hpp
@@ -79,7 +79,7 @@ public: // Types
{
set(str_rep);
}
- inline virtual std::string to_string() const
+ inline std::string to_string() const override
{
return key() + "=" + get();
}
@@ -125,7 +125,7 @@ public: // Types
% ex.what()));
}
}
- inline virtual std::string to_string() const
+ inline std::string to_string() const override
{
return key() + "=" + std::to_string(get());
}
@@ -179,7 +179,7 @@ public: // Types
set(_str_values.at(str_rep_lowercase));
}
- inline virtual std::string to_string() const
+ inline std::string to_string() const override
{
std::string repr;
for (const auto& value : _str_values) {
@@ -232,7 +232,7 @@ public: // Types
% key() % ex.what()));
}
}
- inline virtual std::string to_string() const
+ inline std::string to_string() const override
{
return key() + "=" + (get() ? "true" : "false");
}