Core/Build: Use std namespace in getline calls
(cherry picked from commit 86f7f47b58e4e044cd9a9171d83863dd8f99d91c)
This commit is contained in:
1 parent
2ec6844666
commit
81ea9f5aa0
2 files changed
+3
-3
No files matched your search
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
@@ -299,7 +299,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