Ref T259, Ref T243 remove dummy interpolator

* As there are no longer situations/parts added to the interpolator /solely provided by provider) there is no overhead anymore and no need for the dummy interpolator.
* Furthermore switching the interpolator at runtime will become possible.
This commit is contained in:
Klaus Basan
2018-03-26 00:51:15 +02:00
parent 60c70c34f6
commit 7ae0649dd6
2 changed files with 0 additions and 74 deletions

View File

@@ -14,7 +14,6 @@
#include "blackmisc/simulation/interpolatorlinear.h"
#include "blackmisc/simulation/interpolatorspline.h"
#include "blackmisc/simulation/interpolatordummy.h"
namespace BlackMisc
{
@@ -89,13 +88,7 @@ namespace BlackMisc
private:
Mode m_mode = ModeSpline;
CInterpolatorSpline m_spline;
#ifdef QT_DEBUG
//! only in a dev.environment, otherwise replaced by low footprint dummy driver
CInterpolatorLinear m_linear;
#else
//! Low footprint dummy interpolator in non-debug compile
CInterpolatorDummy m_linear;
#endif
};
/**