Remove unneeded c_str() call

This commit is contained in:
Maxime Coste 2015-03-25 13:34:00 +00:00
parent b5fb97f5a9
commit bc67a6547d

View File

@ -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;