summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();