1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 17:31:44 +03:00

do not take a std::string by value in runtime_error constructor

This commit is contained in:
Maxime Coste 2012-03-04 20:10:09 +00:00
parent ded05bb5d3
commit 583de3ba6e

View File

@ -14,7 +14,7 @@ struct exception
struct runtime_error : exception
{
runtime_error(const std::string description)
runtime_error(const std::string& description)
: m_description(description) {}
std::string description() const { return m_description; }