From 8d54086f92a8358dae0bb7cb64cbc78271c1d098 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Fri, 28 Aug 2009 20:06:29 +0000 Subject: [PATCH] const begin and end --- cpp/FGConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/FGConfig.h b/cpp/FGConfig.h index 221f76309..b6217108a 100644 --- a/cpp/FGConfig.h +++ b/cpp/FGConfig.h @@ -52,8 +52,8 @@ namespace gtsam { virtual void operator+=(const FGConfig & delta); virtual FGConfig operator+(const FGConfig & delta) const; - const_iterator begin() {return values.begin();} - const_iterator end() {return values.end();} + const_iterator begin() const {return values.begin();} + const_iterator end() const {return values.end();} /** get a vector in the configuration by name */ Vector get(const std::string& name) const;