Fix missing inline keyword

This commit is contained in:
Sergey Abramchuk 2018-04-04 13:08:45 +03:00
parent 3030551e3d
commit c67e05a1ad

View File

@ -223,7 +223,7 @@ namespace openvpn {
}
// return the first line (without newline) of a multi-line string
std::string first_line(const std::string& str)
inline std::string first_line(const std::string& str)
{
const size_t pos = str.find_first_of('\n');
if (pos != std::string::npos)