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:
parent
ded05bb5d3
commit
583de3ba6e
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user