Skip to content
Snippets Groups Projects
Commit b218787b authored by Andy Maloney's avatar Andy Maloney Committed by Jesse Beder
Browse files

Remove extraneous conversion from string -> c_str -> string (#739)

parent db0bda70
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ class YAML_CPP_API Exception : public std::runtime_error {
static const std::string build_what(const Mark& mark,
const std::string& msg) {
if (mark.is_null()) {
return msg.c_str();
return msg;
}
std::stringstream output;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment