Closed s-mandra closed 4 years ago
catch (std::string) --> catch (const std::string&)
catch (std::string)
catch (const std::string&)
@alankao64, for future reference, try to catch by reference when possible, for instance:
catch (const std::string& err_msg)
instead of
catch (std::string err_msg)
Thanks!
catch (std::string)
-->catch (const std::string&)