summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Müller <Marcus.Mueller@ettus.com>2015-04-13 20:37:42 +0200
committerJohnathan Corgan <johnathan@corganlabs.com>2015-04-14 07:37:53 -0700
commita86eb4188da69f06116991a29fbf1b28dfb4a5a5 (patch)
treee208c8597f3dc08da301012dc2c2a2e5f96097bc
parentf1f97b05f42040d4df931e81d79bd20c0b4f920e (diff)
Fixed non-virtual dtor pseudoissue in [flat_]flowgraph
-rw-r--r--gnuradio-runtime/include/gnuradio/flowgraph.h2
-rw-r--r--gnuradio-runtime/lib/flat_flowgraph.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/include/gnuradio/flowgraph.h b/gnuradio-runtime/include/gnuradio/flowgraph.h
index 1c04a5f21d..452a20cbc6 100644
--- a/gnuradio-runtime/include/gnuradio/flowgraph.h
+++ b/gnuradio-runtime/include/gnuradio/flowgraph.h
@@ -147,7 +147,7 @@ namespace gr {
friend GR_RUNTIME_API flowgraph_sptr make_flowgraph();
// Destruct an arbitrary flowgraph
- ~flowgraph();
+ virtual ~flowgraph();
// Connect two endpoints
void connect(const endpoint &src, const endpoint &dst);
diff --git a/gnuradio-runtime/lib/flat_flowgraph.h b/gnuradio-runtime/lib/flat_flowgraph.h
index fad14279ae..d0b3a3ae64 100644
--- a/gnuradio-runtime/lib/flat_flowgraph.h
+++ b/gnuradio-runtime/lib/flat_flowgraph.h
@@ -45,7 +45,7 @@ namespace gr {
friend GR_RUNTIME_API flat_flowgraph_sptr make_flat_flowgraph();
// Destruct an arbitrary gr::flat_flowgraph
- ~flat_flowgraph();
+ virtual ~flat_flowgraph();
// Wire list of gr::block together in new flat_flowgraph
void setup_connections();