summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-11-05 16:43:05 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-11-05 16:43:58 +0100
commit205bd350a538da7497de45b0cacf669e25dffcfd (patch)
treea5b409eadd1d13979f72ad1404eb11c57b669acd
parentcf798ba21055d05044302561353d3abd0c9615a1 (diff)
downloadglibmm-205bd350a538da7497de45b0cacf669e25dffcfd.tar.gz
Examples: Avoid a warning about unused code.
This useful warning seems to be new in g++ 6: thread/dispatcher2.cc:88:1: error: ‘{anonymous}::ThreadTimer::~ThreadTimer()’ defined but not used [-Werror=unused-function] ThreadTimer::~ThreadTimer()
-rw-r--r--examples/thread/dispatcher2.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/thread/dispatcher2.cc b/examples/thread/dispatcher2.cc
index d56c5e72..98011617 100644
--- a/examples/thread/dispatcher2.cc
+++ b/examples/thread/dispatcher2.cc
@@ -85,10 +85,6 @@ ThreadTimer::ThreadTimer()
signal_increment_.connect(sigc::mem_fun(*this, &ThreadTimer::timer_increment));
}
-ThreadTimer::~ThreadTimer()
-{
-}
-
void
ThreadTimer::launch()
{