style check fail

This commit is contained in:
michael1589 2021-11-30 15:07:18 +08:00
parent 93efc75dc7
commit 3f56dde858

View File

@ -132,7 +132,7 @@ namespace
if (!userInfo.empty()) if (!userInfo.empty())
{ {
std::size_t n = userInfo.find(":"); std::size_t n = userInfo.find(":");
if(n != std::string::npos) if (n != std::string::npos)
{ {
credentials.setUsername(userInfo.substr(0, n)); credentials.setUsername(userInfo.substr(0, n));
credentials.setPassword(userInfo.substr(n+1)); credentials.setPassword(userInfo.substr(n+1));