commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 05/06: Fixed non-virtual dtor pseudoissue i


From: git
Subject: [Commit-gnuradio] [gnuradio] 05/06: Fixed non-virtual dtor pseudoissue in [flat_]flowgraph
Date: Tue, 14 Apr 2015 15:02:55 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit a86eb4188da69f06116991a29fbf1b28dfb4a5a5
Author: Marcus Müller <address@hidden>
Date:   Mon Apr 13 20:37:42 2015 +0200

    Fixed non-virtual dtor pseudoissue in [flat_]flowgraph
---
 gnuradio-runtime/include/gnuradio/flowgraph.h | 2 +-
 gnuradio-runtime/lib/flat_flowgraph.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnuradio-runtime/include/gnuradio/flowgraph.h 
b/gnuradio-runtime/include/gnuradio/flowgraph.h
index 1c04a5f..452a20c 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 fad1427..d0b3a3a 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();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]