diff options
author | Eric Milkie <milkie@10gen.com> | 2016-05-17 09:32:27 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2016-05-17 09:35:30 -0400 |
commit | 68d2943e7eebb0c969567f6435f71b39a336a1a2 (patch) | |
tree | a96fef82fb8140c71c067422fcbe4fd68ac8924a /src/mongo/db/storage | |
parent | 47deea0b0a619c7aad4c8a4acdd91f15e8923cb8 (diff) | |
download | mongo-68d2943e7eebb0c969567f6435f71b39a336a1a2.tar.gz |
SERVER-23116 remove pessimizing moves
Diffstat (limited to 'src/mongo/db/storage')
-rw-r--r-- | src/mongo/db/storage/kv/kv_catalog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/kv/kv_catalog.cpp b/src/mongo/db/storage/kv/kv_catalog.cpp index 8141ca89f01..81fd1504ad4 100644 --- a/src/mongo/db/storage/kv/kv_catalog.cpp +++ b/src/mongo/db/storage/kv/kv_catalog.cpp @@ -350,7 +350,7 @@ void KVCatalog::init(OperationContext* opCtx) { // Initialize the feature tracker and skip over the version document because it doesn't // correspond to a namespace entry. - _featureTracker = std::move(FeatureTracker::get(opCtx, this, record->id)); + _featureTracker = FeatureTracker::get(opCtx, this, record->id); continue; } @@ -363,7 +363,7 @@ void KVCatalog::init(OperationContext* opCtx) { if (!_featureTracker) { // If there wasn't a feature document, then just an initialize a feature tracker that // doesn't manage a feature document yet. - _featureTracker = std::move(KVCatalog::FeatureTracker::create(opCtx, this)); + _featureTracker = KVCatalog::FeatureTracker::create(opCtx, this); } // In the unlikely event that we have used this _rand before generate a new one. |