diff --git a/inference/VariableIndex.h b/inference/VariableIndex.h index 250f8e986..760803ce0 100644 --- a/inference/VariableIndex.h +++ b/inference/VariableIndex.h @@ -42,8 +42,8 @@ public: typedef boost::shared_ptr shared_ptr; typedef FastList Factors; - typedef typename Factors::iterator Factor_iterator; - typedef typename Factors::const_iterator Factor_const_iterator; + typedef Factors::iterator Factor_iterator; + typedef Factors::const_iterator Factor_const_iterator; protected: std::vector indexUnpermuted_;