From f45b1556ca5fbebb8721d5d08f389f6a4c60b366 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Mon, 29 Aug 2011 19:22:11 +0000 Subject: [PATCH] typedef typename ... doesn't compile for me. Removing typename makes it work. --- tests/testExtendedKalmanFilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testExtendedKalmanFilter.cpp b/tests/testExtendedKalmanFilter.cpp index f36ad8fe8..8aabefc65 100644 --- a/tests/testExtendedKalmanFilter.cpp +++ b/tests/testExtendedKalmanFilter.cpp @@ -97,7 +97,7 @@ TEST( ExtendedKalmanFilter, linear ) { // Create Motion Model Factor class NonlinearMotionModel : public NonlinearFactor2 { public: - typedef typename LinearKey::Value T; + typedef LinearKey::Value T; private: typedef NonlinearFactor2 Base; @@ -245,7 +245,7 @@ public: // Create Measurement Model Factor class NonlinearMeasurementModel : public NonlinearFactor1 { public: - typedef typename LinearKey::Value T; + typedef LinearKey::Value T; private: