fix(util/exception): typo in error message

This commit is contained in:
Leonardo de Moura 2015-04-27 12:02:04 -07:00
parent dcc94dde82
commit fee2b002fc

View file

@ -49,7 +49,7 @@ char const * stack_space_exception::what() const noexcept {
char const * memory_exception::what() const noexcept {
std::string & buffer = get_g_buffer();
std::ostringstream s;
s << "excessive memory consumption detected at '" << m_component_name << "' (potential solution: increase memory consumption thresold)";
s << "excessive memory consumption detected at '" << m_component_name << "' (potential solution: increase memory consumption threshold)";
buffer = s.str();
return buffer.c_str();
}