diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-03-25 13:34:00 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-03-25 13:42:36 +0000 |
| commit | bc67a6547d4f7c03341ac66236690093947ded2e (patch) | |
| tree | 0da72cacbfbf51167ca94f4dcf2a26608b02b85a /src/exception.hh | |
| parent | b5fb97f5a9b64f6379a6a3ac37150e0e790140a6 (diff) | |
Remove unneeded c_str() call
Diffstat (limited to 'src/exception.hh')
| -rw-r--r-- | src/exception.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.hh b/src/exception.hh index fd29017c..43ff4e68 100644 --- a/src/exception.hh +++ b/src/exception.hh @@ -17,7 +17,7 @@ struct runtime_error : exception runtime_error(String what) : m_what(std::move(what)) {} - StringView what() const override { return m_what.c_str(); } + StringView what() const override { return m_what; } private: String m_what; |
