diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2015-12-08 14:31:02 -0800 |
---|---|---|
committer | Nicholas Corgan <nick.corgan@ettus.com> | 2015-12-08 14:31:02 -0800 |
commit | 21df150ec873f15c4e85f9564b56586e3fe2afcf (patch) | |
tree | f52a379bf915519ad9e95f526b2c821a9a1b00c0 | |
parent | 7be0c9facb42554283820e9189195c93f146930b (diff) | |
download | uhd-21df150ec873f15c4e85f9564b56586e3fe2afcf.tar.gz uhd-21df150ec873f15c4e85f9564b56586e3fe2afcf.tar.bz2 uhd-21df150ec873f15c4e85f9564b56586e3fe2afcf.zip |
e300: added virtual destructor to e300_sensor_manager class
-rw-r--r-- | host/lib/usrp/e300/e300_sensor_manager.hpp | 4 |
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; |