Commit f9b0a56b authored by Mark Santaniello's avatar Mark Santaniello Committed by Facebook Github Bot

mark small_vector get_allocator() as const

Summary: This function should be marked const.

Reviewed By: yfeldblum

Differential Revision: D16793980

fbshipit-source-id: 3e98f999c3e00caa0d238fa29c082ab6e819bf2a
parent 9f73ab95
......@@ -563,7 +563,7 @@ class small_vector : public detail::small_vector_base<
: BaseType::policyMaxSize();
}
allocator_type get_allocator() {
allocator_type get_allocator() const {
return {};
}
......
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