mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Build: Use std namespace in getline calls
This commit is contained in:
@@ -44,14 +44,14 @@ bool AuctionBotSeller::Initialize()
|
||||
{
|
||||
std::stringstream includeStream(sAuctionBotConfig->GetAHBotIncludes());
|
||||
std::string temp;
|
||||
while (getline(includeStream, temp, ','))
|
||||
while (std::getline(includeStream, temp, ','))
|
||||
includeItems.push_back(atoi(temp.c_str()));
|
||||
}
|
||||
|
||||
{
|
||||
std::stringstream excludeStream(sAuctionBotConfig->GetAHBotExcludes());
|
||||
std::string temp;
|
||||
while (getline(excludeStream, temp, ','))
|
||||
while (std::getline(excludeStream, temp, ','))
|
||||
excludeItems.push_back(atoi(temp.c_str()));
|
||||
}
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ public:
|
||||
else if (commentToken[1] == '/')
|
||||
{
|
||||
std::string str;
|
||||
getline(ifs, str);
|
||||
std::getline(ifs, str);
|
||||
continue;
|
||||
}
|
||||
// regular data
|
||||
|
||||
Reference in New Issue
Block a user