From 21df150ec873f15c4e85f9564b56586e3fe2afcf Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Tue, 8 Dec 2015 14:31:02 -0800 Subject: e300: added virtual destructor to e300_sensor_manager class --- host/lib/usrp/e300/e300_sensor_manager.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp') 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 sptr; + virtual ~e300_sensor_manager() {}; + virtual uhd::sensor_value_t get_sensor(const std::string &key) = 0; virtual std::vector get_sensors(void) = 0; -- cgit v1.2.3