summaryrefslogtreecommitdiffhomepage
path: root/filter-kalman
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:35:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:35:52 +0200
commitf6bec4948dda62c69ce7b242c96a0c7546a7f403 (patch)
treef6055ca1f4deb27a4139f042b30ad19177b80a93 /filter-kalman
parent45b577bbae110135097ece0ffbd223d44a52900b (diff)
filter/kalman: fix eigen warnings
Diffstat (limited to 'filter-kalman')
-rw-r--r--filter-kalman/kalman.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/filter-kalman/kalman.h b/filter-kalman/kalman.h
index 2d8db86e..1e6e2ac4 100644
--- a/filter-kalman/kalman.h
+++ b/filter-kalman/kalman.h
@@ -19,9 +19,19 @@ using namespace options;
# define EIGEN_VECTORIZE_SSE4_2
#endif
+// nodiscard for placement new
+#ifdef _MSC_VER
+# pragma warning(push)
+# pragma warning(disable : 4834)
+#endif
+
#include <Eigen/Core>
#include <Eigen/LU>
+#ifdef _MSC_VER
+# pragma warning(pop)
+#endif
+
#include "ui_ftnoir_kalman_filtercontrols.h"
#include <QString>
#include <QWidget>