From a8064849fa06a08e37dfaa2630c7fd6d30e64424 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Tue, 2 Dec 2014 17:03:04 +0100 Subject: [PATCH] Remove three compiler warnings. --- gtsam/linear/IterativeSolver.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtsam/linear/IterativeSolver.h b/gtsam/linear/IterativeSolver.h index 3c397c9e9..d6e1b6e98 100644 --- a/gtsam/linear/IterativeSolver.h +++ b/gtsam/linear/IterativeSolver.h @@ -106,9 +106,9 @@ namespace gtsam { typedef boost::tuple Base; KeyInfoEntry(){} KeyInfoEntry(size_t idx, size_t d, Key start) : Base(idx, d, start) {} - const size_t index() const { return this->get<0>(); } - const size_t dim() const { return this->get<1>(); } - const size_t colstart() const { return this->get<2>(); } + size_t index() const { return this->get<0>(); } + size_t dim() const { return this->get<1>(); } + size_t colstart() const { return this->get<2>(); } }; /************************************************************************************/