From 679e4949479678d5a12842e82fe922872f6198bf Mon Sep 17 00:00:00 2001 From: michael-west Date: Mon, 30 Apr 2018 10:43:04 -0700 Subject: fixup! rfnoc: ctrl_iface cleanup --- host/lib/include/uhdlib/rfnoc/ctrl_iface.hpp | 2 +- host/lib/rfnoc/ctrl_iface.cpp | 1 - host/tests/device3_test.cpp | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/host/lib/include/uhdlib/rfnoc/ctrl_iface.hpp b/host/lib/include/uhdlib/rfnoc/ctrl_iface.hpp index d89dea534..deb58f14c 100644 --- a/host/lib/include/uhdlib/rfnoc/ctrl_iface.hpp +++ b/host/lib/include/uhdlib/rfnoc/ctrl_iface.hpp @@ -21,7 +21,7 @@ class ctrl_iface { public: typedef boost::shared_ptr sptr; - virtual ~ctrl_iface(void) = 0; + virtual ~ctrl_iface(void) {} /*! Make a new control object * diff --git a/host/lib/rfnoc/ctrl_iface.cpp b/host/lib/rfnoc/ctrl_iface.cpp index 9515cda0d..719341717 100644 --- a/host/lib/rfnoc/ctrl_iface.cpp +++ b/host/lib/rfnoc/ctrl_iface.cpp @@ -264,4 +264,3 @@ ctrl_iface::sptr ctrl_iface::make( ); } } - diff --git a/host/tests/device3_test.cpp b/host/tests/device3_test.cpp index d3f7aa2ee..3a7f7c6cb 100644 --- a/host/tests/device3_test.cpp +++ b/host/tests/device3_test.cpp @@ -5,7 +5,6 @@ // SPDX-License-Identifier: GPL-3.0-or-later // -#include "../lib/rfnoc/ctrl_iface.hpp" #include #include #include @@ -28,7 +27,7 @@ static const sid_t TEST_SID1 = 0x00000210; // 0.0.2.F class pseudo_ctrl_iface_impl : public ctrl_iface { public: - pseudo_ctrl_iface_impl() {}; + pseudo_ctrl_iface_impl() {} virtual ~pseudo_ctrl_iface_impl() {} uint64_t send_cmd_pkt( -- cgit v1.2.3