summaryrefslogtreecommitdiff
path: root/buildscripts/cpplint.py
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2016-09-01 12:00:47 -0400
committerDavid Storch <david.storch@10gen.com>2016-09-08 22:43:36 -0400
commit0f695019bd0b736e0aac0c510290175f0ec8f274 (patch)
tree0a7e318bbb2753e2ac082e799a940d2c62125e72 /buildscripts/cpplint.py
parentf0df1d05b6098bfc01d0351e6867f044542d3b39 (diff)
downloadmongo-0f695019bd0b736e0aac0c510290175f0ec8f274.tar.gz
SERVER-25865 stdx::unordered_map and stdx::unordered_set
On Windows, these are aliases for boost containers. On other platforms they are aliases for std containers.
Diffstat (limited to 'buildscripts/cpplint.py')
-rwxr-xr-xbuildscripts/cpplint.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildscripts/cpplint.py b/buildscripts/cpplint.py
index 94e7eda6a01..c8ab889c164 100755
--- a/buildscripts/cpplint.py
+++ b/buildscripts/cpplint.py
@@ -1619,9 +1619,9 @@ def make_polyfill_regex():
'async',
'bind',
'chrono',
- 'cref',
'condition_variable',
'condition_variable_any',
+ 'cref',
'cv_status',
'defer_lock',
'function',
@@ -1644,6 +1644,8 @@ def make_polyfill_regex():
'timed_mutex',
'try_to_lock',
'unique_lock',
+ 'unordered_map',
+ 'unordered_set',
]
qualified_names = ['boost::' + name + "\\b" for name in polyfill_required_names]