From 5888b2a497068a94a32fe03e517468ef21463d83 Mon Sep 17 00:00:00 2001 From: olivier-stasse <olivier.stasse@aist.go.jp> Date: Fri, 11 Mar 2011 05:07:25 +0900 Subject: [PATCH] Revert "Minor change" This reverts commit 1067bb30d09856bf056a2c610bd0812a41b4cfee. --- src/Mathematics/intermediate-qp-matrices.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Mathematics/intermediate-qp-matrices.hh b/src/Mathematics/intermediate-qp-matrices.hh index 12b7ecb8..cb88a76a 100644 --- a/src/Mathematics/intermediate-qp-matrices.hh +++ b/src/Mathematics/intermediate-qp-matrices.hh @@ -111,8 +111,6 @@ namespace PatternGeneratorJRL /// \brief Accessors to the state matrices inline state_variant_t const & State() const { return m_StateMatrices; }; - inline state_variant_t & State() - { return m_StateMatrices; }; /// \brief Accessors to the objective dependent matrices objective_variant_t const & Objective( const int aObjectiveType ) const; @@ -129,7 +127,7 @@ namespace PatternGeneratorJRL { return m_StateMatrices.Ref; }; inline reference_t & Reference() { return m_StateMatrices.Ref; }; - inline void Reference( const reference_t & Ref ) + inline void Reference( reference_t & Ref ) { m_StateMatrices.Ref = Ref; }; /// \brief Accessors to the Center of Mass -- GitLab