Commit 78f3142f authored by Tom Jackson's avatar Tom Jackson Committed by Sara Golemon

const'ing sorted_vector_map::count()

Test Plan: Use it

Reviewed By: tudorb@fb.com

FB internal diff: D865211
parent 423eed2d
...@@ -515,7 +515,7 @@ public: ...@@ -515,7 +515,7 @@ public:
return end(); return end();
} }
size_type count(const key_type& key) { size_type count(const key_type& key) const {
return find(key) == end() ? 0 : 1; return find(key) == end() ? 0 : 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment