Just return "const char*". The usage constructs a std::string for no reason.