summaryrefslogtreecommitdiff
path: root/src/exception.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/exception.hh')
-rw-r--r--src/exception.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.hh b/src/exception.hh
index f341e724..89188e63 100644
--- a/src/exception.hh
+++ b/src/exception.hh
@@ -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; }