summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/semantic_analysis.h
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-07-29 15:28:20 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-02 23:52:53 +0000
commit27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c (patch)
treedf483a3165f012efe9c395e4bae67aa8097fe1ab /src/mongo/db/pipeline/semantic_analysis.h
parenteae9041c1c1320a15a6b13f3f1d4770a2b96e085 (diff)
downloadmongo-27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c.tar.gz
SERVER-57446 fix clang-tidy header issues and add header-filter
Diffstat (limited to 'src/mongo/db/pipeline/semantic_analysis.h')
-rw-r--r--src/mongo/db/pipeline/semantic_analysis.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/pipeline/semantic_analysis.h b/src/mongo/db/pipeline/semantic_analysis.h
index f7c0b3f56b5..1931800b9df 100644
--- a/src/mongo/db/pipeline/semantic_analysis.h
+++ b/src/mongo/db/pipeline/semantic_analysis.h
@@ -70,8 +70,8 @@ boost::optional<StringMap<std::string>> renamedPaths(const std::set<std::string>
* 'end' should be an iterator referring to the past-the-end stage.
*/
boost::optional<StringMap<std::string>> renamedPaths(
- const Pipeline::SourceContainer::const_iterator start,
- const Pipeline::SourceContainer::const_iterator end,
+ Pipeline::SourceContainer::const_iterator start,
+ Pipeline::SourceContainer::const_iterator end,
const std::set<std::string>& pathsOfInterest,
boost::optional<std::function<bool(DocumentSource*)>> additionalStageValidatorCallback =
boost::none);
@@ -87,8 +87,8 @@ boost::optional<StringMap<std::string>> renamedPaths(
* (the 'reverse end').
*/
boost::optional<StringMap<std::string>> renamedPaths(
- const Pipeline::SourceContainer::const_reverse_iterator start,
- const Pipeline::SourceContainer::const_reverse_iterator end,
+ Pipeline::SourceContainer::const_reverse_iterator start,
+ Pipeline::SourceContainer::const_reverse_iterator end,
const std::set<std::string>& pathsOfInterest,
boost::optional<std::function<bool(DocumentSource*)>> additionalStageValidatorCallback =
boost::none);
@@ -102,8 +102,8 @@ boost::optional<StringMap<std::string>> renamedPaths(
* fails 'additionalStageValidatorCallback', or returns 'end' if no such stage exists.
*/
std::pair<Pipeline::SourceContainer::const_iterator, StringMap<std::string>>
-findLongestViablePrefixPreservingPaths(const Pipeline::SourceContainer::const_iterator start,
- const Pipeline::SourceContainer::const_iterator end,
+findLongestViablePrefixPreservingPaths(Pipeline::SourceContainer::const_iterator start,
+ Pipeline::SourceContainer::const_iterator end,
const std::set<std::string>& pathsOfInterest,
boost::optional<std::function<bool(DocumentSource*)>>
additionalStageValidatorCallback = boost::none);