X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdevices%2Fdevice.cpp;h=855a1d82fca65019952b1baf46f21aef60c859de;hb=23a923e31af4fde0bc7f2993ac8a3b08fe229f46;hp=403acc4896c684d82d3ee35cf279bc2c945c700e;hpb=7bb0fbf4d3809dbbd0fe5b35fc7e475b1065ae20;p=pulseview.git
diff --git a/pv/devices/device.cpp b/pv/devices/device.cpp
index 403acc4..855a1d8 100644
--- a/pv/devices/device.cpp
+++ b/pv/devices/device.cpp
@@ -14,8 +14,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#include
@@ -24,12 +23,10 @@
#include "device.hpp"
-using std::map;
-using std::set;
+using std::shared_ptr;
using sigrok::ConfigKey;
using sigrok::Capability;
-using sigrok::Error;
using Glib::VariantBase;
using Glib::Variant;
@@ -37,22 +34,18 @@ using Glib::Variant;
namespace pv {
namespace devices {
-Device::Device()
-{
-}
-
Device::~Device()
{
if (session_)
session_->remove_datafeed_callbacks();
}
-std::shared_ptr Device::session() const
+shared_ptr Device::session() const
{
return session_;
}
-std::shared_ptr Device::device() const
+shared_ptr Device::device() const
{
return device_;
}