summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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>