Fix bounds check in fbstring::at
Summary: From http://en.cppreference.com/w/cpp/string/basic_string/at > Throws std::out_of_range if pos >= size(). Furthermore it was inconsistent between the `const` and non-`const` version. (Note: this ignores all push blocking failures!) Reviewed By: philippv, luciang Differential Revision: D6355911 fbshipit-source-id: 54acbba791fc5a8aeb4fdf46e786f8519fd18701
Showing
Please register or sign in to comment