diff options
Diffstat (limited to 'src/mongo/db/multi_key_path_tracker.h')
-rw-r--r-- | src/mongo/db/multi_key_path_tracker.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/multi_key_path_tracker.h b/src/mongo/db/multi_key_path_tracker.h index 781ec9924cc..3f1d4800bab 100644 --- a/src/mongo/db/multi_key_path_tracker.h +++ b/src/mongo/db/multi_key_path_tracker.h @@ -41,6 +41,8 @@ struct MultikeyPathInfo { MultikeyPaths multikeyPaths; }; +using WorkerMultikeyPathInfo = std::vector<MultikeyPathInfo>; + /** * An OperationContext decoration that tracks which indexes should be made multikey. This is used * by IndexCatalogEntryImpl::setMultikey() to track what indexes should be set as multikey during @@ -64,7 +66,7 @@ public: /** * Returns the multikey path information that has been saved. */ - const std::vector<MultikeyPathInfo>& getMultikeyPathInfo() const; + const WorkerMultikeyPathInfo& getMultikeyPathInfo() const; /** * Specifies that we should track multikey path information on this MultikeyPathTracker. This is @@ -87,7 +89,7 @@ public: private: - std::vector<MultikeyPathInfo> _multikeyPathInfo; + WorkerMultikeyPathInfo _multikeyPathInfo; bool _trackMultikeyPathInfo = false; }; |