summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/update.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2012-03-20 16:15:23 -0700
committerAaron <aaron@10gen.com>2012-03-22 15:51:59 -0700
commit03aa01eb85b5b45beada9bb75a537d29295a51bf (patch)
tree85ff528c3facffd8b14bb69cc4ca4d4ca0372604 /src/mongo/db/ops/update.h
parentfe485a09544bfc761c312e29db359b8e290f5155 (diff)
downloadmongo-03aa01eb85b5b45beada9bb75a537d29295a51bf.tar.gz
Store MatchDetails::_elemMatchKey as a string.
Diffstat (limited to 'src/mongo/db/ops/update.h')
-rw-r--r--src/mongo/db/ops/update.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/update.h b/src/mongo/db/ops/update.h
index 77bedba97dd..a4934302e7b 100644
--- a/src/mongo/db/ops/update.h
+++ b/src/mongo/db/ops/update.h
@@ -383,7 +383,7 @@ namespace mongo {
);
// TODO: this is inefficient - should probably just handle when iterating
- ModSet * fixDynamicArray( const char * elemMatchKey ) const;
+ ModSet * fixDynamicArray( const string &elemMatchKey ) const;
bool hasDynamicArray() const { return _hasDynamicArray; }