From 10a0575a80d64af81a046d8eae7984660c4862d7 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Mon, 30 Jul 2018 14:12:26 +0200 Subject: [PATCH] Fix clang static analyzer warnings --- src/blackcore/simulator.cpp | 4 ++++ src/blackcore/simulator.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/blackcore/simulator.cpp b/src/blackcore/simulator.cpp index 8b0bb00f6..e01961154 100644 --- a/src/blackcore/simulator.cpp +++ b/src/blackcore/simulator.cpp @@ -1140,4 +1140,8 @@ namespace BlackCore this->stopImpl(); m_isRunning = false; } + + ISimulatorFactory::~ISimulatorFactory() + { } + } // namespace diff --git a/src/blackcore/simulator.h b/src/blackcore/simulator.h index a040a69b1..0e21ca04c 100644 --- a/src/blackcore/simulator.h +++ b/src/blackcore/simulator.h @@ -604,7 +604,7 @@ namespace BlackCore { public: //! ISimulatorVirtual destructor - virtual ~ISimulatorFactory() {} + virtual ~ISimulatorFactory(); //! Create a new instance of a driver //! \param info metadata about simulator