summaryrefslogtreecommitdiff
path: root/db/repl
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2010-11-02 14:46:58 -0400
committerDwight <dwight@10gen.com>2010-11-02 14:46:58 -0400
commit4c2cbc74a84fd4290ef3020ea5830aced68f1278 (patch)
treeeb34ed7dcbb261f39776fad7eeee19e4df1c0b11 /db/repl
parent30320637af3b21aba8a0093ec6bb1af308ea9136 (diff)
downloadmongo-4c2cbc74a84fd4290ef3020ea5830aced68f1278.tar.gz
compile? rs
Diffstat (limited to 'db/repl')
-rw-r--r--db/repl/rs_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/rs_config.cpp b/db/repl/rs_config.cpp
index 8240f94deb2..b7d249d3508 100644
--- a/db/repl/rs_config.cpp
+++ b/db/repl/rs_config.cpp
@@ -96,7 +96,7 @@ namespace mongo {
if( !buildIndexes ) b << "buildIndexes" << buildIndexes;
if( !tags.empty() ) {
BSONArrayBuilder a;
- for( set<string>::iterator i = tags.begin(); i != tags.end(); i++ )
+ for( set<string>::const_iterator i = tags.begin(); i != tags.end(); i++ )
a.append(*i);
b.appendArray("tags", a.done());
}