aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-12-08 14:31:02 -0800
committerNicholas Corgan <nick.corgan@ettus.com>2015-12-08 14:31:02 -0800
commit21df150ec873f15c4e85f9564b56586e3fe2afcf (patch)
treef52a379bf915519ad9e95f526b2c821a9a1b00c0 /host/lib
parent7be0c9facb42554283820e9189195c93f146930b (diff)
downloaduhd-21df150ec873f15c4e85f9564b56586e3fe2afcf.tar.gz
uhd-21df150ec873f15c4e85f9564b56586e3fe2afcf.tar.bz2
uhd-21df150ec873f15c4e85f9564b56586e3fe2afcf.zip
e300: added virtual destructor to e300_sensor_manager class
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/e300/e300_sensor_manager.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/e300/e300_sensor_manager.hpp b/host/lib/usrp/e300/e300_sensor_manager.hpp
index bfaf8e90c..1252e07b9 100644
--- a/host/lib/usrp/e300/e300_sensor_manager.hpp
+++ b/host/lib/usrp/e300/e300_sensor_manager.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2014 Ettus Research LLC
+// Copyright 2014-2015 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -46,6 +46,8 @@ class e300_sensor_manager : boost::noncopyable
public:
typedef boost::shared_ptr<e300_sensor_manager> sptr;
+ virtual ~e300_sensor_manager() {};
+
virtual uhd::sensor_value_t get_sensor(const std::string &key) = 0;
virtual std::vector<std::string> get_sensors(void) = 0;