X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/73f662acc31034cd98fdc6e157454f7763ef0792..1347f3d1e04bedd1508589173f577673ee2c5554:/projects/stargazer/plugins/configuration/sgconfig/parser_admin.cpp
diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_admin.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_admin.cpp
index 5bc68d2a..9d87f300 100644
--- a/projects/stargazer/plugins/configuration/sgconfig/parser_admin.cpp
+++ b/projects/stargazer/plugins/configuration/sgconfig/parser_admin.cpp
@@ -37,7 +37,7 @@ if (!priv->adminChg)
return;
}
-string s;
+std::string s;
//answerList->clear();
answerList->erase(answerList->begin(), answerList->end());
@@ -99,7 +99,7 @@ if (admins->Del(adminToDel, currAdmin) == 0)
}
else
{
- string s;
+ std::string s;
strprintf(&s, "", admins->GetStrError().c_str());
answerList->push_back(s);
}
@@ -155,7 +155,7 @@ if (admins->Add(adminToAdd, currAdmin) == 0)
}
else
{
- string s;
+ std::string s;
strprintf(&s, "", admins->GetStrError().c_str());
answerList->push_back(s);
}
@@ -242,7 +242,7 @@ if (!login.res_empty())
if (admins->Change(conf, currAdmin) != 0)
{
- string s;
+ std::string s;
strprintf(&s, "", admins->GetStrError().c_str());
answerList->push_back(s);
}