From 293214155f7758855052c2564594c9847b6c5f3f Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 17 Dec 2012 11:51:43 -0800 Subject: [PATCH] One last try. --- src/cpp/ripple/ParameterTable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/ripple/ParameterTable.cpp b/src/cpp/ripple/ParameterTable.cpp index cb61a064b4..52860ce202 100644 --- a/src/cpp/ripple/ParameterTable.cpp +++ b/src/cpp/ripple/ParameterTable.cpp @@ -82,7 +82,7 @@ Json::Value ParameterNode::getValue(int i) const { Json::Value v(Json::objectValue); typedef std::pair string_ref_pair; - BOOST_FOREACH(const string_ref_pair& it, mChildren) + BOOST_FOREACH(string_ref_pair it, mChildren) { v[it.first] = it.second->getValue(i); } @@ -96,7 +96,7 @@ bool ParameterNode::setValue(const Json::Value& value, Json::Value& error) Json::Value nodes(Json::arrayValue); typedef std::pair string_ref_pair; - BOOST_FOREACH(const string_ref_pair& it, mChildren) + BOOST_FOREACH(string_ref_pair it, mChildren) { nodes.append(it.first); }